Color

#313b4e

#313b4e
hex#313b4e
rgbrgb(49, 59, 78)
hslhsl(219, 23%, 25%)
oklchoklch(0.352 0.036 263)
Closest name: After Midnight (#38393f)Relative luminance 0.0433

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4e4431

#314a4e · #35314e

#4e313b · #3b4e31

Split-complementary

Open in tool →

#4e3531 · #4a4e31

#4e314a · #4e4431 · #314e35

Contrast

#313b4e as textRatioAAAA largeAAAFix
Aaon white
11.25:1passpasspassPasses AAA — no fix needed.
Aaon black
1.87:1failfailfail
  • AA: use #62779d as the text (4.64:1)
  • AAA: use #8897b4 as the text (7.13:1)
  • AA: or shift the background to #a6a6a6 (4.62:1)
  • AAA: or shift the background to #cccccc (7.01:1)

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

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

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

tool url/palettes/new/313b4e-9ca5c4-df664e-211f2d-e9f0f1?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