Color

#40264f

#40264f
hex#40264f
rgbrgb(64, 38, 79)
hslhsl(278, 35%, 23%)
oklchoklch(0.321 0.077 312)
Closest name: Acai (#48295b)Relative luminance 0.0304

Tints & shades

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

Harmonies

Complementary

Open in tool →

#354f26

#2c264f · #4f264a

#4f4026 · #264f40

Split-complementary

Open in tool →

#4a4f26 · #264f2c

#4f2c26 · #354f26 · #264a4f

Contrast

#40264f as textRatioAAAA largeAAAFix
Aaon white
13.06:1passpasspassPasses AAA — no fix needed.
Aaon black
1.61:1failfailfail
  • AA: use #9561b3 as the text (4.64:1)
  • AAA: use #ae87c5 as the text (7.07:1)
  • AA: or shift the background to #999999 (4.58:1)
  • AAA: or shift the background to #bfbfbf (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 #40264f 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

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

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

tool url/palettes/new/40264f-ba9cc4-bbcb62-2d1f2c-ebe9f1?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