# #040d6c

A color — cool, vivid, dark, technical, modern, luxury, bold. Deterministic analysis from BrandSweets (no inference).

## Values

- Hex: `#040d6c`
- RGB: rgb(4, 13, 108)
- HSL: hsl(235, 93%, 22%)
- OKLCH: oklch(0.256 0.155 265.7)
- Relative luminance: 0.014
- Nearest named color: Deep Blue (#040273, Δ 1.586) — https://brandsweets.com/colors/deep-blue
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/040d6c

## Tints & shades

- Tints (toward white): #051194, #0715b6, #081add, #1326f6, #3a4af8, #626ef9, #848efb, #abb2fc, #ced2fd, #f5f6ff
- Shades (toward black): #040b62, #030a59, #030a54, #03094a, #020740, #020636, #02052c, #010527, #01031e, #010214

## Harmonies

- Complementary: #6c6404
- Analogous: #04416c, #2f046c
- Triadic: #6c040d, #0d6c04
- Split-complementary: #6c2f04, #416c04
- Tetradic: #6c0441, #6c6404, #046c2f

## Colors that go with #040d6c

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 #040d6c: softer than #000 and cool enough to feel like part of the same palette. Seen in: Boeing (https://brandsweets.com/colors/brands/boeing-com), Plaid (https://brandsweets.com/colors/brands/plaid-com), CeraVe (https://brandsweets.com/colors/brands/cerave-com), Microsoft (https://brandsweets.com/colors/brands/microsoft-com). — https://brandsweets.com/colors/charcoal
- **Crimson** #dc143c [harmony, pool: triadic] — Crimson completes a triad with #040d6c — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Nintendo (https://brandsweets.com/colors/brands/nintendo-com), Pepsi (https://brandsweets.com/colors/brands/pepsi-com), Casper Sleep (https://brandsweets.com/colors/brands/casper-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/crimson
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #040d6c's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Deep Water (https://brandsweets.com/palettes/dark#deep-water), Glacier (https://brandsweets.com/palettes/cool#glacier), Plaid (https://brandsweets.com/colors/brands/plaid-com), Fintech Trust (https://brandsweets.com/palettes/cool#fintech-trust). — https://brandsweets.com/colors/steelblue
- **Cobalt Blue** #0047ab [pool] — Designers have shipped Cobalt Blue with #040d6c: 7 real palettes, including Glacier and Purina Pro Plan's brand system, as the accent. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), Purina Pro Plan (https://brandsweets.com/colors/brands/chewy-com), Blue Mono (https://brandsweets.com/palettes/cool#blue-mono), MLB (https://brandsweets.com/colors/brands/mlb-com). — https://brandsweets.com/colors/cobalt
- **Denim** #1560bd [pool] — Designers have shipped Denim with #040d6c: 10 real palettes, including Bank of America's brand system and British Airways's brand system, as the accent. Seen in: Bank of America (https://brandsweets.com/colors/brands/bankofamerica-com), British Airways (https://brandsweets.com/colors/brands/britishairways-com), Skechers (https://brandsweets.com/colors/brands/skechers-com), Panasonic (https://brandsweets.com/colors/brands/panasonic-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #040d6c in 7 real palettes, including Spectrum's brand system and Discord's brand system, as the accent. Seen in: Spectrum (https://brandsweets.com/colors/brands/spectrum-com), Discord (https://brandsweets.com/colors/brands/discord), GEICO (https://brandsweets.com/colors/brands/geico-com), Penpot (https://brandsweets.com/colors/brands/penpot-app). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #040d6c on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. — https://brandsweets.com/colors/olive
- **Lilac** #c8a2c8 [pool] — Designers have shipped Lilac with #040d6c: 3 real palettes, including Affirm's brand system and First Snow, as the supporting colour. Seen in: Affirm (https://brandsweets.com/colors/brands/affirm-com), First Snow (https://brandsweets.com/palettes/cool#first-snow), Lavender Milk (https://brandsweets.com/palettes/light#lavender-milk). — https://brandsweets.com/colors/lilac

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

- On white (#ffffff): 16.42:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.28:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #5865f9 (4.64:1); AA: background → #878787 (4.57:1); AAA: text → #848efb (7.24:1); AAA: background → #ababab (7.15:1)

## Fonts for this mood

- technical: https://brandsweets.com/fonts/mood/technical
- modern: https://brandsweets.com/fonts/mood/modern
- luxury: https://brandsweets.com/fonts/mood/luxury
- bold: https://brandsweets.com/fonts/mood/bold

## Palette tool

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