Color

#313fb9

#313fb9
hex#313fb9
rgbrgb(49, 63, 185)
hslhsl(234, 58%, 46%)
oklchoklch(0.44 0.19 271)
Closest name: Denim (#2243b6)Relative luminance 0.0771

Tints & shades

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

Harmonies

Complementary

Open in tool →

#b9ac31

#3183b9 · #6831b9

#b9313f · #3fb931

Split-complementary

Open in tool →

#b96831 · #83b931

#b93183 · #b9ac31 · #31b968

Contrast

#313fb9 as textRatioAAAA largeAAAFix
Aaon white
8.26:1passpasspassPasses AAA — no fix needed.
Aaon black
2.54:1failfailfail
  • AA: use #626dd5 as the text (4.67:1)
  • AAA: use #868fdf as the text (7.01:1)
  • AA: or shift the background to #c2c2c2 (4.64:1)
  • AAA: or shift the background to #ededed (7.06:1)

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

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

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

tool url/palettes/new/313fb9-9d9cc4-df8a4e-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