# #021f7e

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

## Values

- Hex: `#021f7e`
- RGB: rgb(2, 31, 126)
- HSL: hsl(226, 97%, 25%)
- OKLCH: oklch(0.305 0.161 263.9)
- Relative luminance: 0.025
- Nearest named color: midnightblue (#191970, Δ 3.375) — https://brandsweets.com/colors/midnightblue
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/021f7e

## Tints & shades

- Tints (toward white): #0227a1, #0331c9, #043aec, #184dfb, #406cfc, #6387fd, #86a2fd, #aabdfe, #d2dcfe, #f5f7ff
- Shades (toward black): #021c74, #021a69, #01175f, #011555, #01124b, #010f3c, #010c32, #010a28, #00071e, #000514

## Harmonies

- Complementary: #7e6102
- Analogous: #025d7e, #23027e
- Triadic: #7e021f, #1f7e02
- Split-complementary: #7e2302, #5d7e02
- Tetradic: #7e025d, #7e6102, #027e23

## Colors that go with #021f7e

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

- **Crimson** #dc143c [harmony, pool: triadic] — Crimson completes a triad with #021f7e — 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 #021f7e's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Glacier (https://brandsweets.com/palettes/cool#glacier), Deep Water (https://brandsweets.com/palettes/dark#deep-water), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust). — https://brandsweets.com/colors/steelblue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #021f7e: 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), dbt Labs (https://brandsweets.com/colors/brands/getdbt-com). — https://brandsweets.com/colors/charcoal
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #021f7e: 4 real palettes, including Purina Pro Plan's brand system and Tide's brand system, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Tide (https://brandsweets.com/colors/brands/tide-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), MLB (https://brandsweets.com/colors/brands/mlb-com). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #021f7e: 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), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Skechers (https://brandsweets.com/colors/brands/skechers-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #021f7e in 7 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), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #021f7e 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
- **Blue** #0000ff [pool] — 3 real palettes, including Procter & Gamble's brand system and Alaska Airlines's brand system put Blue beside #021f7e, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), Monzo (https://brandsweets.com/colors/brands/monzo-com). — https://brandsweets.com/colors/blue

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

- On white (#ffffff): 14:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.5:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #3b68fc (4.57:1); AA: background → #949494 (4.62:1); AAA: text → #7293fd (7.31:1); AAA: background → #b8b8b8 (7.06:1)

## Brands using this color

- **Purina Pro Plan** — secondary #09267b (Δ 1.779) — https://brandsweets.com/colors/brands/chewy-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/021f7e-9ca1c4-df774e-221f2d-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: "#021f7e" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
