# #402d9f

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

## Values

- Hex: `#402d9f`
- RGB: rgb(64, 45, 159)
- HSL: hsl(250, 56%, 40%)
- OKLCH: oklch(0.397 0.174 282.7)
- Relative luminance: 0.0547
- Nearest named color: Bluebell (#333399, Δ 2.411) — https://brandsweets.com/colors/bluebell
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402d9f

## Tints & shades

- Tints (toward white): #4a34b7, #5740c9, #6854cf, #7d6cd5, #9284dc, #a79ce3, #bcb3ea, #cec7ef, #e3dff6, #f8f7fd
- Shades (toward black): #3a288f, #352583, #2e2173, #2a1d67, #231958, #1d1448, #18113c, #120c2c, #0d0920, #060410

## Harmonies

- Complementary: #8c9f2d
- Analogous: #2d539f, #792d9f
- Triadic: #9f402d, #2d9f40
- Split-complementary: #9f792d, #539f2d
- Tetradic: #9f2d53, #8c9f2d, #2d9f79

## Colors that go with #402d9f

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 #402d9f: 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), Boeing (https://brandsweets.com/colors/brands/boeing-com), HP (https://brandsweets.com/colors/brands/hp-com). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #402d9f'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 #402d9f, 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
- **Crimson** #dc143c [pool] — Crimson is paired with #402d9f in 9 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), Casper Sleep (https://brandsweets.com/colors/brands/casper-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402d9f: 9 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 #402d9f: 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 Fintech Trust put Midnight Blue beside #402d9f, as that palette's text colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Kraken (https://brandsweets.com/colors/brands/kraken-com), Air France (https://brandsweets.com/colors/brands/airfrance-com). — https://brandsweets.com/colors/midnightblue
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #402d9f in 4 real palettes, including Tide's brand system and NASA's brand system, as the accent. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), NASA (https://brandsweets.com/colors/brands/nasa-gov), Intercom (https://brandsweets.com/colors/brands/intercom-com), Soundcloud (https://brandsweets.com/colors/brands/soundcloud-com). — https://brandsweets.com/colors/orangered

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

- On white (#ffffff): 10.03:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.09:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7664d3 (4.53:1); AA: background → #b0b0b0 (4.62:1); AAA: text → #998cde (7.16:1); AAA: background → #d9d9d9 (7.1: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/402d9f-a79cc4-dfb14e-281f2d-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: "#402d9f" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
