# #40187b

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

## Values

- Hex: `#40187b`
- RGB: rgb(64, 24, 123)
- HSL: hsl(264, 67%, 29%)
- OKLCH: oklch(0.335 0.153 295)
- Relative luminance: 0.0317
- Nearest named color: Explorer of the Galaxies (#3a1f76, Δ 1.76) — https://brandsweets.com/colors/explorer-of-the-galaxies
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/40187b

## Tints & shades

- Tints (toward white): #4f1e99, #5f24b7, #6e2ad5, #8348db, #9766e1, #a87fe6, #bc9dec, #d1bbf2, #e5d9f7, #f9f6fd
- Shades (toward black): #3c1773, #351466, #31135e, #2a1051, #260e48, #1f0c3c, #1a0a33, #140826, #0f061e, #090311

## Harmonies

- Complementary: #547b18
- Analogous: #18227b, #72187b
- Triadic: #7b4018, #187b40
- Split-complementary: #7b7218, #227b18
- Tetradic: #7b1822, #547b18, #187b72

## Colors that go with #40187b

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 #40187b: 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), Hinge (https://brandsweets.com/colors/brands/hinge-co), CeraVe (https://brandsweets.com/colors/brands/cerave-com). — https://brandsweets.com/colors/charcoal
- **Royal Blue** #4169e1 [harmony, pool: analogous] — Royal Blue is #40187b'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), Confluent (https://brandsweets.com/colors/brands/confluent-io), Nivea (https://brandsweets.com/colors/brands/nivea-com), Nokia (https://brandsweets.com/colors/brands/nokia-com). — https://brandsweets.com/colors/royalblue
- **Crimson** #dc143c [pool] — Crimson is paired with #40187b in 5 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), Pepsi (https://brandsweets.com/colors/brands/pepsi-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40187b: 5 real palettes, including Bank of America's brand system and Panasonic's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #40187b: 5 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
- **Taupe** #483c32 [pool] — Taupe is paired with #40187b in 4 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), American Eagle (https://brandsweets.com/colors/brands/ae-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-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 #40187b, 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
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #40187b 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

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

- On white (#ffffff): 12.85:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.63:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8e59de (4.63:1); AA: background → #999999 (4.51:1); AAA: text → #ab84e7 (7.19:1); AAA: background → #c2c2c2 (7.21:1)

## 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/40187b-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: "#40187b" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
