Color
#402ca5
#402ca5rgb(64, 44, 165)hsl(250, 58%, 41%)oklch(0.402 0.183 281.9)Colors that go with #402ca5
Charcoal, Steel Blue and Blue 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.
Charcoal #36454f
neutralshippedCharcoal is the text near-black for #402ca5: softer than #000 and cool enough to feel like part of the same palette.
Steel Blue #4682b4
analogousshippedSteel Blue is #402ca5's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Blue #0000ff
shipped5 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #402ca5, as the supporting colour.
Cornflower Blue #6495ed
shippedDesigners have shipped Cornflower Blue with #402ca5: 4 real palettes, including Blue Mono and Peacock's brand system, as the supporting colour.
Crimson #dc143c
shippedCrimson is paired with #402ca5 in 4 real palettes, including Behance's brand system and Casper Sleep's brand system, as the accent.
Denim #1560bd
shippedDesigners have shipped Denim with #402ca5: 7 real palettes, including Warbyparker's brand system and Google's brand system, as the accent.
Midnight Blue #191970
shipped9 real palettes, including Blue Mono and Kraken's brand system put Midnight Blue beside #402ca5, as that palette's text colour.
Royal Blue #4169e1
shippedRoyal Blue is paired with #402ca5 in 8 real palettes, including Nivea's brand system and NHL's brand system, as the supporting colour.
Real palettes that use #402ca5
Tints & shades
Harmonies
Contrast
| #402ca5 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 9.9:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 2.12:1 | fail | fail | fail |
Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #402ca5 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
#402ca5 reads as cool, modern. The font library is tagged with the same vocabulary:
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.
https://mcp.brandsweets.com/colors/mcpclaude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
›analyze #402ca5 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/402ca5-a79cc4-dfb14e-281f2d-e9ecf1?lock=0&style=vibrantWant the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: color.md