Color

#31345e

#31345e
hex#31345e
rgbrgb(49, 52, 94)
hslhsl(236, 31%, 28%)
oklchoklch(0.344 0.073 278.7)
Closest name: Deep Sea Base (#2c2c57)Relative luminance 0.0392

Tints & shades

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

Harmonies

Complementary

Open in tool →

#5e5b31

#314a5e · #44315e

#5e3134 · #345e31

Split-complementary

Open in tool →

#5e4431 · #4a5e31

#5e314a · #5e5b31 · #315e44

Contrast

#31345e as textRatioAAAA largeAAAFix
Aaon white
11.78:1passpasspassPasses AAA — no fix needed.
Aaon black
1.78:1failfailfail
  • AA: use #6c71b2 as the text (4.64:1)
  • AAA: use #9194c5 as the text (7.25:1)
  • AA: or shift the background to #a1a1a1 (4.56:1)
  • AAA: or shift the background to #c9c9c9 (7.11:1)

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

#31345e reads as cool, muted, dark. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/31345e-9e9cc4-df8f4e-241f2d-e9eef1?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