# #402fa2

A color — cool, modern. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#402fa2`
- RGB: rgb(64, 47, 162)
- HSL: hsl(249, 55%, 41%)
- OKLCH: oklch(0.403 0.175 281.8)
- Relative luminance: 0.0573
- Nearest named color: Bluebell (#333399, Δ 2.526) — https://brandsweets.com/colors/bluebell
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402fa2

## Tints & shades

- Tints (toward white): #4a36ba, #5541c8, #6b59cf, #8071d6, #9588dd, #a79ce2, #bcb4e9, #d1ccf0, #e3dff6, #f8f7fd
- Shades (toward black): #3a2a92, #352786, #2f2277, #291e67, #241a5b, #1e164b, #18113b, #110d2b, #0d0920, #060510

## Harmonies

- Complementary: #91a22f
- Analogous: #2f57a2, #7a2fa2
- Triadic: #a2402f, #2fa240
- Split-complementary: #a27a2f, #57a22f
- Tetradic: #a22f57, #91a22f, #2fa27a

## Colors that go with #402fa2

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 #402fa2: softer than #000 and cool enough to feel like part of the same palette. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), UEFA (https://brandsweets.com/colors/brands/uefa-com), HP (https://brandsweets.com/colors/brands/hp-com), Campus (https://brandsweets.com/palettes/friendly#campus). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #402fa2's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Glacier (https://brandsweets.com/palettes/cool#glacier). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #402fa2, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Cornflower Blue** #6495ed [pool] — Designers have shipped Cornflower Blue with #402fa2: 4 real palettes, including Blue Mono and Peacock's brand system, as the supporting colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Peacock (https://brandsweets.com/colors/brands/peacocktv-com), Gopro (https://brandsweets.com/colors/brands/gopro-com), Qualcomm (https://brandsweets.com/colors/brands/qualcomm-com). — https://brandsweets.com/colors/cornflowerblue
- **Crimson** #dc143c [pool] — Crimson is paired with #402fa2 in 10 real palettes, including Walgreens's brand system and Wells Fargo's brand system, as the lead colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Behance (https://brandsweets.com/colors/brands/behance-net), Pepsi (https://brandsweets.com/colors/brands/pepsi-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402fa2: 8 real palettes, including Warbyparker's brand system and Unilever's brand system, as the accent. Seen in: Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Unilever (https://brandsweets.com/colors/brands/unilever-com), Intel (https://brandsweets.com/colors/brands/intel-com), General Mills (https://brandsweets.com/colors/brands/generalmills-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #402fa2: 4 real palettes, including Datadog's brand system and 3M's brand system, as the accent. Seen in: Datadog (https://brandsweets.com/colors/brands/datadoghq-com), 3M (https://brandsweets.com/colors/brands/3m-com), MLB (https://brandsweets.com/colors/brands/mlb-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/firebrick
- **Midnight Blue** #191970 [pool] — 12 real palettes, including Blue Mono and Kraken's brand system put Midnight Blue beside #402fa2, as that palette's text colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Kraken (https://brandsweets.com/colors/brands/kraken-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Air France (https://brandsweets.com/colors/brands/airfrance-com). — https://brandsweets.com/colors/midnightblue

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

- On white (#ffffff): 9.78:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.15:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7565d2 (4.55:1); AA: background → #b0b0b0 (4.51:1); AAA: text → #998cde (7.16:1); AAA: background → #dbdbdb (7.07:1)

## Fonts for this mood

- modern: https://brandsweets.com/fonts/mood/modern

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/402fa2-a79cc4-dfae4e-271f2d-e9ecf1?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: "#402fa2" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
