Color

#400a9e

#400a9e
hex#400a9e
rgbrgb(64, 10, 158)
hslhsl(262, 88%, 33%)
oklchoklch(0.361 0.201 286.8)
Closest name: Galactic Civilization (#442288)Relative luminance 0.0378

Tints & shades

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

Harmonies

Complementary

Open in tool →

#689e0a

#0a1e9e · #8a0a9e

#9e400a · #0a9e40

Split-complementary

Open in tool →

#9e8a0a · #1e9e0a

#9e0a1e · #689e0a · #0a9e8a

Contrast

#400a9e as textRatioAAAA largeAAAFix
Aaon white
11.96:1passpasspassPasses AAA — no fix needed.
Aaon black
1.76:1failfailfail
  • AA: use #8e52f4 as the text (4.66:1)
  • AAA: use #aa7ef7 as the text (7.04:1)
  • AA: or shift the background to #a1a1a1 (4.63:1)
  • AAA: or shift the background to #c7c7c7 (7.08:1)

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

#400a9e reads as cool, vivid, technical. The font library is tagged with the same vocabulary:

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

tool url/palettes/new/400a9e-af9cc4-dfce4e-2a1f2d-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