# #40405e

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

## Values

- Hex: `#40405e`
- RGB: rgb(64, 64, 94)
- HSL: hsl(240, 19%, 31%)
- OKLCH: oklch(0.385 0.051 283.8)
- Relative luminance: 0.0556
- Nearest named color: Bonne Nuit (#3a4866, Δ 2.524) — https://brandsweets.com/colors/bonne-nuit
- Moods: cool, muted
- Page: https://brandsweets.com/colors/40405e

## Tints & shades

- Tints (toward white): #4e4e73, #5b5b86, #6a6a9a, #8080a8, #9595b7, #a7a7c3, #bcbcd2, #d1d1e0, #e4e4ec, #f9f9fb
- Shades (toward black): #3a3a55, #36364f, #303046, #29293d, #252537, #1f1f2e, #191924, #13131b, #0e0e15, #08080c

## Harmonies

- Complementary: #5e5e40
- Analogous: #404f5e, #4f405e
- Triadic: #5e4040, #405e40
- Split-complementary: #5e4f40, #4f5e40
- Tetradic: #5e404f, #5e5e40, #405e4f

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

- On white (#ffffff): 9.94:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.11:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #70709e (4.5:1); AA: background → #b0b0b0 (4.58:1); AAA: text → #9292b5 (7:1); AAA: background → #d9d9d9 (7.04:1)

## Palette tool

Open this color locked as the lead with four explored companions: https://brandsweets.com/palettes/new/40405e-a19cc4-df994e-251f2d-e9edf1?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: "#40405e" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
