Color

#40477d

#40477d
hex#40477d
rgbrgb(64, 71, 125)
hslhsl(233, 32%, 37%)
oklchoklch(0.418 0.09 276.2)
Closest name: Assassin (#2d4f83)Relative luminance 0.0708

Tints & shades

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

Harmonies

Complementary

Open in tool →

#7d7540

#40657d · #57407d

#7d4047 · #477d40

Split-complementary

Open in tool →

#7d5740 · #657d40

#7d4065 · #7d7540 · #407d57

Contrast

#40477d as textRatioAAAA largeAAAFix
Aaon white
8.69:1passpasspassPasses AAA — no fix needed.
Aaon black
2.42:1failfailfail
  • AA: use #6870b1 as the text (4.54:1)
  • AAA: use #8d93c4 as the text (7.1:1)
  • AA: or shift the background to #bdbdbd (4.63:1)
  • AAA: or shift the background to #e8e8e8 (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 #40477d as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

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

tool url/palettes/new/40477d-9c9cc4-df884e-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