# #400f8a

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

## Values

- Hex: `#400f8a`
- RGB: rgb(64, 15, 138)
- HSL: hsl(264, 80%, 30%)
- OKLCH: oklch(0.342 0.177 291.6)
- Relative luminance: 0.0327
- Nearest named color: Galactic Civilization (#442288, Δ 2.937) — https://brandsweets.com/colors/galactic-civilization
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/400f8a

## Tints & shades

- Tints (toward white): #4f13aa, #5e16ca, #6b19e6, #803ae9, #955aed, #a97af0, #be9af4, #d0b6f7, #e4d6fa, #f9f6fe
- Shades (toward black): #3a0e7c, #360d73, #2f0b65, #2b0a5c, #24094e, #1e0740, #1a0637, #130529, #0f0420, #090212

## Harmonies

- Complementary: #598a0f
- Analogous: #0f1c8a, #7d0f8a
- Triadic: #8a400f, #0f8a40
- Split-complementary: #8a7d0f, #1c8a0f
- Tetradic: #8a0f1c, #598a0f, #0f8a7d

## Colors that go with #400f8a

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 #400f8a'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), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue
- **Crimson** #dc143c [pool] — Crimson is paired with #400f8a in 4 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), Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #400f8a: 4 real palettes, including FedEx's brand system and Hershey's's brand system, as the accent. Seen in: FedEx (https://brandsweets.com/colors/brands/fedex-com), Hershey's (https://brandsweets.com/colors/brands/hersheys-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier). — https://brandsweets.com/colors/steelblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #400f8a 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 #400f8a: 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
- **Denim** #1560bd [pool] — Designers have shipped Denim with #400f8a: 3 real palettes, including Bank of America's brand system and Slack's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Slack (https://brandsweets.com/colors/brands/slack-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com). — https://brandsweets.com/colors/denim
- **Taupe** #483c32 [pool] — Taupe is paired with #400f8a in 3 real palettes, including Gillette's brand system and Boeing's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Boeing (https://brandsweets.com/colors/brands/boeing-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com). — https://brandsweets.com/colors/taupe
- **Teal** #008080 [harmony, pool: triadic] — Teal completes a triad with #400f8a — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Sapphire & Gold (https://brandsweets.com/palettes/luxury#sapphire-and-gold). — https://brandsweets.com/colors/teal

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

- On white (#ffffff): 12.7:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.65:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8f51ec (4.56:1); AA: background → #9c9c9c (4.63:1); AAA: text → #ac7ef1 (7.01:1); AAA: background → #c2c2c2 (7.13:1)

## Brands using this color

- **Peacock** — secondary #400094 (Δ 1.886) — https://brandsweets.com/colors/brands/peacocktv-com

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern
- luxury: https://brandsweets.com/fonts/mood/luxury
- bold: https://brandsweets.com/fonts/mood/bold

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/400f8a-b19cc4-dfd34e-2b1f2d-e9eaf1?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: "#400f8a" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
