# #401b9d

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

## Values

- Hex: `#401b9d`
- RGB: rgb(64, 27, 157)
- HSL: hsl(257, 71%, 36%)
- OKLCH: oklch(0.373 0.189 285.7)
- Relative luminance: 0.0431
- Nearest named color: Galactic Civilization (#442288, Δ 3.751) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, technical, modern
- Page: https://brandsweets.com/colors/401b9d

## Tints & shades

- Tints (toward white): #4a1fb7, #5523d1, #693bde, #7d55e2, #916fe7, #a589eb, #b9a3ef, #d0c2f5, #e4dcf9, #f8f6fe
- Shades (toward black): #3a1890, #351683, #2e1371, #291164, #230f57, #1e0d4a, #190a3d, #12072c, #0c051f, #070311

## Harmonies

- Complementary: #789d1b
- Analogous: #1b379d, #811b9d
- Triadic: #9d401b, #1b9d40
- Split-complementary: #9d811b, #379d1b
- Tetradic: #9d1b37, #789d1b, #1b9d81

## Colors that go with #401b9d

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

- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #401b9d's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Nokia (https://brandsweets.com/colors/brands/nokia-com), NHL (https://brandsweets.com/colors/brands/nhl-com). — https://brandsweets.com/colors/royalblue
- **Blue** #0000ff [pool] — 4 real palettes, including Zillow's brand system and Procter & Gamble's brand system put Blue beside #401b9d, as the lead colour. Seen in: Zillow (https://brandsweets.com/colors/brands/zillow-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Pfizer (https://brandsweets.com/colors/brands/pfizer-com), CVS (https://brandsweets.com/colors/brands/cvs-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #401b9d in 7 real palettes, including Pepsi's brand system and Casper Sleep's brand system, as the supporting colour. Seen in: Pepsi (https://brandsweets.com/colors/brands/pepsi-com), 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). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #401b9d: 4 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), Slack (https://brandsweets.com/colors/brands/slack-com), Intel (https://brandsweets.com/colors/brands/intel-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #401b9d: 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), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), MLB (https://brandsweets.com/colors/brands/mlb-com). — https://brandsweets.com/colors/firebrick
- **Midnight Blue** #191970 [pool] — 8 real palettes, including Kraken's brand system and Blue Mono put Midnight Blue beside #401b9d, as the lead colour. Seen in: Kraken (https://brandsweets.com/colors/brands/kraken-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Visa (https://brandsweets.com/colors/brands/visa-com). — https://brandsweets.com/colors/midnightblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #401b9d on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #401b9d: 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): 11.28:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.86:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #845ee4 (4.7:1); AA: background → #a6a6a6 (4.63:1); AAA: text → #a285ea (7.08:1); AAA: background → #cccccc (7.02:1)

## Brands using this color

- **dbt Labs** — accent #3d189a (Δ 0.929) — https://brandsweets.com/colors/brands/getdbt-com

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- 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/401b9d-ac9cc4-dfc24e-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: "#401b9d" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
