# #40388a

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

## Values

- Hex: `#40388a`
- RGB: rgb(64, 56, 138)
- HSL: hsl(246, 42%, 38%)
- OKLCH: oklch(0.397 0.132 283)
- Relative luminance: 0.0575
- Nearest named color: darkslateblue (#483d8b, Δ 1.966) — https://brandsweets.com/colors/darkslateblue
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40388a

## Tints & shades

- Tints (toward white): #4b419f, #554ab5, #6960be, #7e75c7, #928bd0, #a6a1d9, #bbb7e1, #cfccea, #e4e2f3, #f8f8fc
- Shades (toward black): #3b347f, #342e70, #2f2965, #292357, #241f4c, #1e1b41, #181533, #131028, #0c0a19, #07060e

## Harmonies

- Complementary: #818a38
- Analogous: #38598a, #69388a
- Triadic: #8a4038, #388a40
- Split-complementary: #8a6938, #598a38
- Tetradic: #8a3859, #818a38, #388a69

## Colors that go with #40388a

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 #40388a: 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), Tumblr (https://brandsweets.com/colors/brands/tumblr-com), Harbour (https://brandsweets.com/palettes/cool#harbour), Codecademy (https://brandsweets.com/colors/brands/codecademy-com). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #40388a's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Glacier (https://brandsweets.com/palettes/cool#glacier), 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] — 5 real palettes, including CVS's brand system and Procter & Gamble's brand system put Blue beside #40388a, as the supporting colour. Seen in: 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), Alaska Airlines (https://brandsweets.com/colors/brands/alaskaair-com). — https://brandsweets.com/colors/blue
- **Crimson** #dc143c [pool] — Crimson is paired with #40388a in 11 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), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40388a: 14 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), General Mills (https://brandsweets.com/colors/brands/generalmills-com), Hasbro (https://brandsweets.com/colors/brands/hasbro-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 15 real palettes, including Fintech Trust and First Snow put Midnight Blue beside #40388a, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), First Snow (https://brandsweets.com/palettes/cool#first-snow), Microsoft (https://brandsweets.com/colors/brands/microsoft-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono). — https://brandsweets.com/colors/midnightblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #40388a in 11 real palettes, including Nokia's brand system and Carrefour's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Carrefour (https://brandsweets.com/colors/brands/carrefour-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #40388a in 4 real palettes, including Datadog's brand system and Gillette's brand system, as that palette's text colour. Seen in: Datadog (https://brandsweets.com/colors/brands/datadoghq-com), Gillette (https://brandsweets.com/colors/brands/gillette-com), Dusk (https://brandsweets.com/palettes/cool#dusk), American Eagle (https://brandsweets.com/colors/brands/ae-com). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 9.76:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.15:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #736bc2 (4.61:1); AA: background → #b0b0b0 (4.5:1); AAA: text → #958fd1 (7.13:1); AAA: background → #dbdbdb (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/40388a-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: "#40388a" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
