# #40299e

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

## Values

- Hex: `#40299e`
- RGB: rgb(64, 41, 158)
- HSL: hsl(252, 59%, 39%)
- OKLCH: oklch(0.391 0.177 283.6)
- Relative luminance: 0.0514
- Nearest named color: Bluebell (#333399, Δ 2.737) — https://brandsweets.com/colors/bluebell
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40299e

## Tints & shades

- Tints (toward white): #4a2fb6, #5638cc, #6b51d2, #7f69d8, #9481df, #a596e4, #baaeea, #cfc6f0, #e3dff7, #f8f7fd
- Shades (toward black): #3b2692, #352182, #301e76, #291a65, #241759, #1e1349, #19103d, #120c2d, #0d0820, #070410

## Harmonies

- Complementary: #879e29
- Analogous: #294c9e, #7b299e
- Triadic: #9e4029, #299e40
- Split-complementary: #9e7b29, #4c9e29
- Tetradic: #9e294c, #879e29, #299e7b

## Colors that go with #40299e

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

- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #40299e'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), 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
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and Zillow's brand system put Blue beside #40299e, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Zillow (https://brandsweets.com/colors/brands/zillow-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Charcoal** #36454f [role, pool] — Charcoal is the text near-black for #40299e: 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), UEFA (https://brandsweets.com/colors/brands/uefa-com). — https://brandsweets.com/colors/charcoal
- **Crimson** #dc143c [pool] — Crimson is paired with #40299e in 7 real palettes, including Walgreens's brand system and Wells Fargo's brand system, as the lead colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40299e: 5 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), Intel (https://brandsweets.com/colors/brands/intel-com), General Mills (https://brandsweets.com/colors/brands/generalmills-com). — https://brandsweets.com/colors/denim
- **Firebrick** #b22222 [pool] — Designers have shipped Firebrick with #40299e: 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), MLB (https://brandsweets.com/colors/brands/mlb-com), Nintendo (https://brandsweets.com/colors/brands/nintendo-com). — https://brandsweets.com/colors/firebrick
- **Midnight Blue** #191970 [pool] — 12 real palettes, including Blue Mono and Fintech Trust put Midnight Blue beside #40299e, as that palette's text colour. Seen in: Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Kraken (https://brandsweets.com/colors/brands/kraken-com), Air France (https://brandsweets.com/colors/brands/airfrance-com). — https://brandsweets.com/colors/midnightblue
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #40299e in 4 real palettes, including Tide's brand system and NASA's brand system, as the accent. Seen in: Tide (https://brandsweets.com/colors/brands/tide-com), NASA (https://brandsweets.com/colors/brands/nasa-gov), Intercom (https://brandsweets.com/colors/brands/intercom-com), Soundcloud (https://brandsweets.com/colors/brands/soundcloud-com). — https://brandsweets.com/colors/orangered

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

- On white (#ffffff): 10.35:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.03:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #7c65d7 (4.7:1); AA: background → #ababab (4.51:1); AAA: text → #9b89e1 (7.06:1); AAA: background → #d6d6d6 (7.12: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/40299e-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: "#40299e" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
