Color

#313287

#313287
hex#313287
rgbrgb(49, 50, 135)
hslhsl(239, 47%, 36%)
oklchoklch(0.371 0.139 276.8)
Closest name: Deep Space Royal (#223382)Relative luminance 0.0468

Tints & shades

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

Harmonies

Complementary

Open in tool →

#878631

#315d87 · #5a3187

#873132 · #328731

Split-complementary

Open in tool →

#875a31 · #5d8731

#87315d · #878631 · #31875a

Contrast

#313287 as textRatioAAAA largeAAAFix
Aaon white
10.84:1passpasspassPasses AAA — no fix needed.
Aaon black
1.94:1failfailfail
  • AA: use #696bc9 as the text (4.55:1)
  • AAA: use #8f90d6 as the text (7.13:1)
  • AA: or shift the background to #a8a8a8 (4.56:1)
  • AAA: or shift the background to #d1d1d1 (7.1:1)

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

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

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

tool url/palettes/new/313287-a09cc4-df964e-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