Color

#31347d

#31347d
hex#31347d
rgbrgb(49, 52, 125)
hslhsl(238, 44%, 34%)
oklchoklch(0.367 0.121 276.8)
Closest name: Deep Space Royal (#223382)Relative luminance 0.0459

Tints & shades

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

Harmonies

Complementary

Open in tool →

#7d7a31

#31597d · #54317d

#7d3133 · #337d31

Split-complementary

Open in tool →

#7d5431 · #597d31

#7d3159 · #7d7a31 · #317d54

Contrast

#31347d as textRatioAAAA largeAAAFix
Aaon white
10.95:1passpasspassPasses AAA — no fix needed.
Aaon black
1.92:1failfailfail
  • AA: use #686cc4 as the text (4.53:1)
  • AAA: use #8d8fd3 as the text (7:1)
  • AA: or shift the background to #a8a8a8 (4.6:1)
  • AAA: or shift the background to #cfcfcf (7.03:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #31347d 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

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

mcpConnect your agent — build around #31347d
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 #31347d and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/31347d-9f9cc4-df944e-251f2d-e9edf1?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