# #40407d

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

## Values

- Hex: `#40407d`
- RGB: rgb(64, 64, 125)
- HSL: hsl(240, 32%, 37%)
- OKLCH: oklch(0.403 0.1 280.9)
- Relative luminance: 0.0624
- Nearest named color: Evening Magic (#363e7d, Δ 1.696) — https://brandsweets.com/colors/evening-magic
- Moods: cool, muted
- Page: https://brandsweets.com/colors/40407d

## Tints & shades

- Tints (toward white): #4b4b91, #5555a5, #6868b1, #7c7cbb, #9393c8, #a7a7d2, #bcbcdc, #d0d0e7, #e4e4f1, #f8f8fc
- Shades (toward black): #3b3b72, #343465, #2f2f5b, #2a2a51, #242447, #1d1d39, #18182f, #131325, #0c0c18, #07070d

## Harmonies

- Complementary: #7d7d40
- Analogous: #405e7d, #5e407d
- Triadic: #7d4040, #407d40
- Split-complementary: #7d5e40, #5e7d40
- Tetradic: #7d405e, #7d7d40, #407d5e

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

- On white (#ffffff): 9.34:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 2.25:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #6e6eb4 (4.55:1); AA: background → #b5b5b5 (4.56:1); AAA: text → #9393c8 (7.25:1); AAA: background → #e0e0e0 (7.08:1)

## Palette tool

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