Color
#021a78
#021a78rgb(2, 26, 120)hsl(228, 97%, 24%)oklch(0.289 0.159 264.3)Colors that go with #021a78
Charcoal, Crimson and Steel 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 #021a78: softer than #000 and cool enough to feel like part of the same palette.
Crimson #dc143c
triadicshippedCrimson completes a triad with #021a78 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash.
Steel Blue #4682b4
analogousshippedSteel Blue is #021a78's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Blue #0000ff
shipped4 real palettes, including Alaska Airlines's brand system and Monzo's brand system put Blue beside #021a78, as the accent.
Cobalt Blue #0047ab
shippedDesigners have shipped Cobalt Blue with #021a78: 5 real palettes, including Purina Pro Plan's brand system and Glacier, as the accent.
Denim #1560bd
shippedDesigners have shipped Denim with #021a78: 9 real palettes, including Bank of America's brand system and Panasonic's brand system, as the accent.
Royal Blue #4169e1
shippedRoyal Blue is paired with #021a78 in 8 real palettes, including Discord's brand system and Confluent's brand system, as the lead colour.
Olive Green #808000
complementaryOlive Green sits directly opposite #021a78 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight.
Real palettes that use #021a78
Tints & shades
Harmonies
Contrast
| #021a78 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 14.77:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 1.42: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 #021a78 as the background.
Brands using this color
Fonts for this mood
#021a78 reads as cool, vivid, dark. 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 #021a78 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/021a78-9c9fc4-df7c4e-231f2d-e9eff1?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