# #40287b

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

## Values

- Hex: `#40287b`
- RGB: rgb(64, 40, 123)
- HSL: hsl(257, 51%, 32%)
- OKLCH: oklch(0.357 0.134 291.4)
- Relative luminance: 0.0404
- Nearest named color: Explorer of the Galaxies (#3a1f76, Δ 2.517) — https://brandsweets.com/colors/explorer-of-the-galaxies
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40287b

## Tints & shades

- Tints (toward white): #4d3196, #5938ad, #6a46c3, #7c5dcb, #9278d3, #a893dc, #bbaae4, #d0c5ec, #e3dcf4, #f9f7fd
- Shades (toward black): #3a2470, #342064, #301e5c, #2a1a51, #241645, #1e133a, #180f2e, #140c27, #0e091b, #08050f

## Harmonies

- Complementary: #647b28
- Analogous: #283a7b, #69287b
- Triadic: #7b4028, #287b40
- Split-complementary: #7b6928, #3a7b28
- Tetradic: #7b283a, #647b28, #287b69

## Colors that go with #40287b

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 #40287b: 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 #40287b'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), Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com). — https://brandsweets.com/colors/royalblue
- **Blue** #0000ff [pool] — 4 real palettes, including Alaska Airlines's brand system and Procter & Gamble's brand system put Blue beside #40287b, as the accent. Seen in: Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), 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). — https://brandsweets.com/colors/blue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #40287b: 4 real palettes, including Purina Pro Plan's brand system and Blue Mono, as the accent. Seen in: Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Unilever (https://brandsweets.com/colors/brands/unilever-com), Zillow (https://brandsweets.com/colors/brands/zillow-com). — https://brandsweets.com/colors/cobalt
- **Crimson** #dc143c [pool] — Crimson is paired with #40287b 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), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40287b: 10 real palettes, including Panasonic's brand system and Hasbro's brand system, as the accent. Seen in: Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com). — https://brandsweets.com/colors/denim
- **Powder Blue** #b0e0e6 [pool] — Designers have shipped Powder Blue with #40287b: 4 real palettes, including Glacier and Frost & Ember, as the supporting colour. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember), First Snow (https://brandsweets.com/palettes/cool#first-snow), Macaron (https://brandsweets.com/palettes/light#macaron). — https://brandsweets.com/colors/powderblue
- **Steel Blue** #4682b4 [pool] — Designers have shipped Steel Blue with #40287b: 7 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

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

- On white (#ffffff): 11.62:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.81:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #8265cd (4.69:1); AA: background → #a3a3a3 (4.61:1); AAA: text → #a28bda (7.24:1); AAA: background → #c9c9c9 (7.02: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/40287b-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: "#40287b" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
