Color

#40285d

#40285d
hex#40285d
rgbrgb(64, 40, 93)
hslhsl(267, 40%, 26%)
oklchoklch(0.334 0.093 302.6)
Closest name: Acai (#48295b)Relative luminance 0.034

Tints & shades

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

Harmonies

Complementary

Open in tool →

#455d28

#282a5d · #5a285d

#5d4028 · #285d40

Split-complementary

Open in tool →

#5d5a28 · #2a5d28

#5d282a · #455d28 · #285d5a

Contrast

#40285d as textRatioAAAA largeAAAFix
Aaon white
12.5:1passpasspassPasses AAA — no fix needed.
Aaon black
1.68:1failfailfail
  • AA: use #8a62bc as the text (4.55:1)
  • AAA: use #a789cd as the text (7.1:1)
  • AA: or shift the background to #9c9c9c (4.55:1)
  • AAA: or shift the background to #c2c2c2 (7.02:1)

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

#40285d reads as cool, dark, luxury. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/40285d-b39cc4-dfda4e-2c1f2d-e9eaf1?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