Color

#4062ba

#4062ba
hex#4062ba
rgbrgb(64, 98, 186)
hslhsl(223, 49%, 49%)
oklchoklch(0.517 0.144 265.7)
Closest name: God of Rain (#4466cc)Relative luminance 0.1337

Colors that go with #4062ba

Charcoal, Sea Green and Amber lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.

Tints & shades

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

Harmonies

Complementary

Open in tool →

#ba9740

#40a0ba · #5a40ba

#ba4062 · #62ba40

Split-complementary

Open in tool →

#ba5a40 · #a0ba40

#ba40a0 · #ba9740 · #40ba5a

Contrast

#4062ba as textRatioAAAA largeAAAFix
Aaon white
5.72:1passpassfail
  • AAA: use #3754a0 as the text (7.15:1)
Aaon black
3.67:1failpassfail
  • AA: use #5474c4 as the text (4.67:1)
  • AAA: use #7e96d3 as the text (7.19:1)
  • AA: or shift the background to #e6e6e6 (4.58:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #4062ba as the background.

Brands using this color

Fonts for this mood

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

mcpConnect your agent — build around #4062ba
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #4062ba and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/4062ba-9ca3c4-df704e-211f2d-e9eff1?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