# #40338a

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

## Values

- Hex: `#40338a`
- RGB: rgb(64, 51, 138)
- HSL: hsl(249, 46%, 37%)
- OKLCH: oklch(0.388 0.139 284.7)
- Relative luminance: 0.0529
- Nearest named color: darkslateblue (#483d8b, Δ 2.979) — https://brandsweets.com/colors/darkslateblue
- Moods: cool, modern
- Page: https://brandsweets.com/colors/40338a

## Tints & shades

- Tints (toward white): #4a3ba0, #5543b6, #6757c1, #7c6ec9, #9388d3, #a79edb, #bcb5e3, #d0cbec, #e4e1f4, #f8f8fc
- Shades (toward black): #3b2f7f, #342970, #2f2565, #292159, #241d4e, #1d173f, #181334, #130f29, #0c0a1a, #07060f

## Harmonies

- Complementary: #7d8a33
- Analogous: #33518a, #6b338a
- Triadic: #8a4033, #338a40
- Split-complementary: #8a6b33, #518a33
- Tetradic: #8a3351, #7d8a33, #338a6b

## Colors that go with #40338a

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 #40338a: 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), Hinge (https://brandsweets.com/colors/brands/hinge-co), Harbour (https://brandsweets.com/palettes/cool#harbour). — https://brandsweets.com/colors/charcoal
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #40338a'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), 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
- **Blue** #0000ff [pool] — 5 real palettes, including Procter & Gamble's brand system and CVS's brand system put Blue beside #40338a, as the supporting colour. Seen in: Procter & Gamble (https://brandsweets.com/colors/brands/pg-com), CVS (https://brandsweets.com/colors/brands/cvs-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 #40338a in 9 real palettes, including Walgreens's brand system and Casper Sleep's brand system, as the lead colour. Seen in: Walgreens (https://brandsweets.com/colors/brands/walgreens-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Wells Fargo (https://brandsweets.com/colors/brands/wellsfargo-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Denim** #1560bd [pool] — Designers have shipped Denim with #40338a: 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), Hasbro (https://brandsweets.com/colors/brands/hasbro-com), General Mills (https://brandsweets.com/colors/brands/generalmills-com). — https://brandsweets.com/colors/denim
- **Midnight Blue** #191970 [pool] — 12 real palettes, including Fintech Trust and Microsoft's brand system put Midnight Blue beside #40338a, as that palette's text colour. Seen in: Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust), Microsoft (https://brandsweets.com/colors/brands/microsoft-com), First Snow (https://brandsweets.com/palettes/cool#first-snow), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono). — https://brandsweets.com/colors/midnightblue
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #40338a in 9 real palettes, including Nokia's brand system and Nivea's brand system, as the supporting colour. Seen in: Nokia (https://brandsweets.com/colors/brands/nokia-com), Nivea (https://brandsweets.com/colors/brands/nivea-com), Discord (https://brandsweets.com/colors/brands/discord), Carrefour (https://brandsweets.com/colors/brands/carrefour-com). — https://brandsweets.com/colors/royalblue
- **Taupe** #483c32 [pool] — Taupe is paired with #40338a in 5 real palettes, including Gillette's brand system and Datadog's brand system, as the lead colour. Seen in: Gillette (https://brandsweets.com/colors/brands/gillette-com), Datadog (https://brandsweets.com/colors/brands/datadoghq-com), American Eagle (https://brandsweets.com/colors/brands/ae-com), Dusk (https://brandsweets.com/palettes/cool#dusk). — https://brandsweets.com/colors/taupe

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

- On white (#ffffff): 10.2:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.06:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #786ac8 (4.69:1); AA: background → #adadad (4.55:1); AAA: text → #9a8fd6 (7.27:1); AAA: background → #d6d6d6 (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/40338a-a79cc4-dfae4e-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: "#40338a" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
