Color

#313f72

#313f72
hex#313f72
rgbrgb(49, 63, 114)
hslhsl(227, 40%, 32%)
oklchoklch(0.382 0.089 270.2)
Closest name: Blue Funk (#2d4470)Relative luminance 0.0542

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#726431

#316072 · #433172

#72313f · #3f7231

Split-complementary

Open in tool →

#724331 · #607231

#723160 · #726431 · #317243

Contrast

#313f72 as textRatioAAAA largeAAAFix
Aaon white
10.07:1passpasspassPasses AAA — no fix needed.
Aaon black
2.08:1failfailfail
  • AA: use #5e72ba as the text (4.59:1)
  • AAA: use #8695cb as the text (7.18:1)
  • AA: or shift the background to #b0b0b0 (4.65:1)
  • AAA: or shift the background to #d9d9d9 (7.14:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #313f72 as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#313f72 reads as cool, modern. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #313f72
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #313f72 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/313f72-9ca0c4-df7a4e-221f2d-e9eff1?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md