# #021a78

A color — cool, vivid, dark, technical, modern, luxury, bold. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#021a78`
- RGB: rgb(2, 26, 120)
- HSL: hsl(228, 97%, 24%)
- OKLCH: oklch(0.289 0.159 264.3)
- Relative luminance: 0.0211
- Nearest named color: midnightblue (#191970, Δ 2.706) — https://brandsweets.com/colors/midnightblue
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/021a78

## Tints & shades

- Tints (toward white): #02219c, #032ac4, #0431e7, #1845fb, #3b62fc, #5e7efd, #869efd, #aabafe, #d2dbfe, #f5f7ff
- Shades (toward black): #02176f, #021564, #01135a, #011150, #010f46, #010d3c, #010b32, #010928, #00061e, #000414

## Harmonies

- Complementary: #796102
- Analogous: #025579, #250279
- Triadic: #79021a, #1a7902
- Split-complementary: #792502, #557902
- Tetradic: #790255, #796102, #027925

## Colors that go with #021a78

Named partners (harmony on the OKLCH wheel, co-occurrence in curated palettes and brand systems, and the neutrals that carry it), best first:

- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #021a78: softer than #000 and cool enough to feel like part of the same palette. Seen in: Boeing (https://brandsweets.com/colors/brands/boeing-com), CeraVe (https://brandsweets.com/colors/brands/cerave-com), Plaid (https://brandsweets.com/colors/brands/plaid-com), dbt Labs (https://brandsweets.com/colors/brands/getdbt-com). — https://brandsweets.com/colors/charcoal
- **Crimson** #dc143c [harmony, pool: triadic] — Crimson completes a triad with #021a78 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #021a78's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Deep Water (https://brandsweets.com/palettes/dark#deep-water), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Plaid (https://brandsweets.com/colors/brands/plaid-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 4 real palettes, including Alaska Airlines's brand system and Monzo's brand system put Blue beside #021a78, as the accent. Seen in: Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), Monzo (https://brandsweets.com/colors/brands/monzo-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Penpot (https://brandsweets.com/colors/brands/penpot-app). — https://brandsweets.com/colors/blue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #021a78: 5 real palettes, including Purina Pro Plan's brand system and Glacier, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Glacier (https://brandsweets.com/palettes/cool#glacier), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Tide (https://brandsweets.com/colors/brands/tide-com). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #021a78: 9 real palettes, including Bank of America's brand system and Panasonic's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Skechers (https://brandsweets.com/colors/brands/skechers-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #021a78 in 8 real palettes, including Discord's brand system and Confluent's brand system, as the lead colour. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Confluent (https://brandsweets.com/colors/brands/confluent-io), Spectrum (https://brandsweets.com/colors/brands/spectrum-com), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive 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. — https://brandsweets.com/colors/olive

## Contrast (WCAG 2.x, as text)

- On white (#ffffff): 14.77:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.42:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #4066fc (4.52:1); AA: background → #8f8f8f (4.57:1); AAA: text → #728efd (7:1); AAA: background → #b3b3b3 (7.05:1)

## Brands using this color

- **Crest** — secondary #001c71 (Δ 1.246) — https://brandsweets.com/colors/brands/crest-com

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern
- luxury: https://brandsweets.com/fonts/mood/luxury
- bold: https://brandsweets.com/fonts/mood/bold

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/021a78-9c9fc4-df7c4e-231f2d-e9eff1?lock=0&style=vibrant
(Humans lock/regenerate in the tool; the URL is the state — read `lock=` back to see what they kept.)

## Connect an agent

Point any MCP client at the BrandSweets colors endpoint for the same engine:

- Endpoint: https://mcp.brandsweets.com/colors/mcp
- Tools: `analyze_color` (e.g. `analyze_color({ color: "#021a78" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
