# #402d95

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

## Values

- Hex: `#402d95`
- RGB: rgb(64, 45, 149)
- HSL: hsl(251, 54%, 38%)
- OKLCH: oklch(0.388 0.161 284.4)
- Relative luminance: 0.0514
- Nearest named color: Bluebell (#333399, Δ 2.397) — https://brandsweets.com/colors/bluebell
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402d95

## Tints & shades

- Tints (toward white): #4a34ad, #543bc4, #6852cb, #7d6ad2, #9181d9, #a699e1, #bbb0e8, #cfc8ef, #e4e0f6, #f8f7fd
- Shades (toward black): #3b2989, #34247a, #2f216e, #281c5e, #231952, #1e1547, #171037, #120d2b, #0c081b, #070510

## Harmonies

- Complementary: #82952d
- Analogous: #2d4e95, #742d95
- Triadic: #95402d, #2d9540
- Split-complementary: #95742d, #4e952d
- Tetradic: #952d4e, #82952d, #2d9574

## Colors that go with #402d95

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

- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #402d95'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 #402d95, 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 #402d95 in 7 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), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402d95: 7 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), General Mills (https://brandsweets.com/colors/brands/generalmills-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #402d95: 4 real palettes, including Datadog's brand system and Nintendo's brand system, as the accent. Seen in: Datadog (https://brandsweets.com/colors/brands/datadoghq-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), 3M (https://brandsweets.com/colors/brands/3m-com), MLB (https://brandsweets.com/colors/brands/mlb-com). — https://brandsweets.com/colors/firebrick
- **Midnight Blue** #191970 [pool] — 13 real palettes, including Fintech Trust and Blue Mono put Midnight Blue beside #402d95, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Kraken (https://brandsweets.com/colors/brands/kraken-com), Gillette (https://brandsweets.com/colors/brands/gillette-com). — https://brandsweets.com/colors/midnightblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #402d95 in 9 real palettes, including Nokia's brand system and Nivea's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Carrefour (https://brandsweets.com/colors/brands/carrefour-com). — https://brandsweets.com/colors/royalblue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #402d95: 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), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/charcoal

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

- On white (#ffffff): 10.36:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.03:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7a66d1 (4.65:1); AA: background → #ababab (4.51:1); AAA: text → #9c8ddd (7.27:1); AAA: background → #d6d6d6 (7.13: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/402d95-a89cc4-dfb34e-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: "#402d95" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
