# #402b82

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

## Values

- Hex: `#402b82`
- RGB: rgb(64, 43, 130)
- HSL: hsl(254, 50%, 34%)
- OKLCH: oklch(0.368 0.139 288.8)
- Relative luminance: 0.0443
- Nearest named color: Galactic Civilization (#442288, Δ 2.09) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402b82

## Tints & shades

- Tints (toward white): #4b3399, #583cb4, #674bc3, #7e66cc, #917dd4, #a594db, #bbafe4, #cfc6ec, #e5e0f5, #f9f7fc
- Shades (toward black): #3a2877, #34246b, #2f2060, #291c54, #241849, #1e143d, #181132, #130d26, #0d091b, #07050f

## Harmonies

- Complementary: #6e822b
- Analogous: #2b4282, #6b2b82
- Triadic: #82402b, #2b8240
- Split-complementary: #826b2b, #42822b
- Tetradic: #822b42, #6e822b, #2b826b

## Colors that go with #402b82

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 #402b82: 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), Hinge (https://brandsweets.com/colors/brands/hinge-co), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/charcoal
- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #402b82's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Nokia (https://brandsweets.com/colors/brands/nokia-com), Confluent (https://brandsweets.com/colors/brands/confluent-io), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and Alaska Airlines's brand system put Blue beside #402b82, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #402b82 in 7 real palettes, including Casper Sleep's brand system and Marvel's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402b82: 10 real palettes, including Hasbro's brand system and Panasonic's brand system, as the supporting colour. Seen in: Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Warbyparker (https://brandsweets.com/colors/brands/warbyparker-com), Hinge (https://brandsweets.com/colors/brands/hinge-co). — https://brandsweets.com/colors/denim
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #402b82: 6 real palettes, including FedEx's brand system and Fintech Trust, as the accent. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Taupe** #483c32 [pool] — Taupe is paired with #402b82 in 4 real palettes, including Gillette's brand system and Datadog's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com), American Eagle (https://brandsweets.com/colors/brands/ae-com), Boeing (https://brandsweets.com/colors/brands/boeing-com). — https://brandsweets.com/colors/taupe
- **Tomato** #ff6347 [pool] — 4 real palettes, including FedEx's brand system and dbt Labs's brand system put Tomato beside #402b82, as the supporting colour. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), Harley-Davidson (https://brandsweets.com/colors/brands/harley-davidson-com), Golden Hour (https://brandsweets.com/palettes/warm#golden-hour). — https://brandsweets.com/colors/tomato

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

- On white (#ffffff): 11.14:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.89:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7e66cc (4.66:1); AA: background → #a6a6a6 (4.57:1); AAA: text → #9e8cd9 (7.21:1); AAA: background → #cfcfcf (7.15: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/402b82-aa9cc4-dfbb4e-291f2d-e9ebf1?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: "#402b82" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
