# #402e8a

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

## Values

- Hex: `#402e8a`
- RGB: rgb(64, 46, 138)
- HSL: hsl(252, 50%, 36%)
- OKLCH: oklch(0.38 0.146 286.2)
- Relative luminance: 0.0488
- Nearest named color: Galactic Civilization (#442288, Δ 2.48) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, modern
- Page: https://brandsweets.com/colors/402e8a

## Tints & shades

- Tints (toward white): #4b36a1, #563db8, #6a53c6, #7e6acd, #9281d5, #a598dd, #b9afe4, #d1c9ed, #e4e0f5, #f8f7fc
- Shades (toward black): #3b2a7e, #362673, #2e2163, #291d58, #241a4d, #1e1641, #191236, #120d26, #0c091b, #07050f

## Harmonies

- Complementary: #778a2e
- Analogous: #2e498a, #6e2e8a
- Triadic: #8a402e, #2e8a40
- Split-complementary: #8a6e2e, #498a2e
- Tetradic: #8a2e49, #778a2e, #2e8a6e

## Colors that go with #402e8a

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 #402e8a: 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
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #402e8a'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), Glacier (https://brandsweets.com/palettes/cool#glacier), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and CVS's brand system put Blue beside #402e8a, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #402e8a in 7 real palettes, including Casper Sleep's brand system and Walgreens's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #402e8a: 10 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), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #402e8a in 8 real palettes, including Nokia's brand system and Discord's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Discord (https://brandsweets.com/colors/brands/discord), Nivea (https://brandsweets.com/colors/brands/nivea-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #402e8a 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), Boeing (https://brandsweets.com/colors/brands/boeing-com), American Eagle (https://brandsweets.com/colors/brands/ae-com). — https://brandsweets.com/colors/taupe
- **Tomato** #ff6347 [pool] — 6 real palettes, including dbt Labs's brand system and FedEx's brand system put Tomato beside #402e8a, as the lead colour. Seen in: dbt Labs (https://brandsweets.com/colors/brands/getdbt-com), FedEx (https://brandsweets.com/colors/brands/fedex-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): 10.63:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.98:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7a66cc (4.6:1); AA: background → #ababab (4.63:1); AAA: text → #9c8cd9 (7.17:1); AAA: background → #d4d4d4 (7.17: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/402e8a-a99cc4-dfb64e-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: "#402e8a" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
