Color

#313c4e

#313c4e
hex#313c4e
rgbrgb(49, 60, 78)
hslhsl(217, 23%, 25%)
oklchoklch(0.354 0.035 260.1)
Closest name: After Midnight (#38393f)Relative luminance 0.0443

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4e4331

#314b4e · #35314e

#4e313c · #3c4e31

Split-complementary

Open in tool →

#4e3531 · #4b4e31

#4e314b · #4e4331 · #314e35

Contrast

#313c4e as textRatioAAAA largeAAAFix
Aaon white
11.13:1passpasspassPasses AAA — no fix needed.
Aaon black
1.89:1failfailfail
  • AA: use #60769a as the text (4.56:1)
  • AAA: use #8596b2 as the text (7:1)
  • AA: or shift the background to #a6a6a6 (4.57:1)
  • AAA: or shift the background to #cfcfcf (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 #313c4e 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

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

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

tool url/palettes/new/313c4e-9ca7c4-df624e-201f2d-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