# #40397f

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

## Values

- Hex: `#40397f`
- RGB: rgb(64, 57, 127)
- HSL: hsl(246, 38%, 36%)
- OKLCH: oklch(0.391 0.114 284.3)
- Relative luminance: 0.0555
- Nearest named color: Galactic Compass (#48357b, Δ 1.714) — https://brandsweets.com/colors/galactic-compass
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40397f

## Tints & shades

- Tints (toward white): #4b4294, #554ca9, #6961b8, #7d76c1, #918bcb, #a5a0d4, #b9b5de, #d0cee9, #e4e3f2, #f8f8fc
- Shades (toward black): #3b3474, #352f6a, #2e295b, #292451, #232046, #1e1b3c, #191631, #121023, #0c0b19, #07060e

## Harmonies

- Complementary: #787f39
- Analogous: #39557f, #63397f
- Triadic: #7f4039, #397f40
- Split-complementary: #7f6339, #557f39
- Tetradic: #7f3955, #787f39, #397f63

## Colors that go with #40397f

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 #40397f's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), FedEx (https://brandsweets.com/colors/brands/fedex-com), Hershey's (https://brandsweets.com/colors/brands/hersheys-com). — https://brandsweets.com/colors/steelblue
- **Blue** #0000ff [pool] — 4 real palettes, including Alaska Airlines's brand system and CVS's brand system put Blue beside #40397f, as the accent. Seen in: Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com), CVS (https://brandsweets.com/colors/brands/cvs-com), Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), Tesco (https://brandsweets.com/colors/brands/tesco-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #40397f in 8 real palettes, including Casper Sleep's brand system and Walgreens's brand system, as the lead colour. Seen in: Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Marvel (https://brandsweets.com/colors/brands/marvel-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40397f: 14 real palettes, including Unilever's brand system and Hasbro's brand system, as the accent. Seen in: Unilever (https://brandsweets.com/colors/brands/unilever-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), Hinge (https://brandsweets.com/colors/brands/hinge-co), Jack Daniel's (https://brandsweets.com/colors/brands/jackdaniels-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 13 real palettes, including Microsoft's brand system and First Snow put Midnight Blue beside #40397f, as the accent. Seen in: Microsoft (https://brandsweets.com/colors/brands/microsoft-com), First Snow (https://brandsweets.com/palettes/cool#first-snow), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Gillette (https://brandsweets.com/colors/brands/gillette-com). — https://brandsweets.com/colors/midnightblue
- **Orange Red** #ff4500 [pool] — Orange Red is paired with #40397f in 4 real palettes, including NASA's brand system and Tide's brand system, as the supporting colour. Seen in: NASA (https://brandsweets.com/colors/brands/nasa-gov), Tide (https://brandsweets.com/colors/brands/tide-com), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Audi (https://brandsweets.com/colors/brands/audi-com). — https://brandsweets.com/colors/orangered
- **Powder Blue** #b0e0e6 [pool] — Designers have shipped Powder Blue with #40397f: 4 real palettes, including First Snow and Glacier, as the accent. Seen in: First Snow (https://brandsweets.com/palettes/cool#first-snow), Glacier (https://brandsweets.com/palettes/cool#glacier), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember), Macaron (https://brandsweets.com/palettes/light#macaron). — https://brandsweets.com/colors/powderblue
- **White Smoke** #f5f5f5 [role] — White Smoke is the surface for #40397f: a clean near-white with no warm cast, so the cool hue stays clear instead of drifting muddy. — https://brandsweets.com/colors/whitesmoke

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

- On white (#ffffff): 9.95:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.11:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #736bbd (4.57:1); AA: background → #b0b0b0 (4.59:1); AAA: text → #958ecc (7.02:1); AAA: background → #d9d9d9 (7.05: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/40397f-a59cc4-dfa74e-271f2d-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: "#40397f" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
