# #040d71

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

## Values

- Hex: `#040d71`
- RGB: rgb(4, 13, 113)
- HSL: hsl(235, 93%, 23%)
- OKLCH: oklch(0.263 0.161 265.6)
- Relative luminance: 0.0151
- Nearest named color: Deep Blue (#040273, Δ 1.274) — https://brandsweets.com/colors/deep-blue
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/040d71

## Tints & shades

- Tints (toward white): #061299, #0716bb, #081ae2, #182af7, #3f4ef8, #626ef9, #8992fb, #abb2fc, #d3d6fd, #f5f6ff
- Shades (toward black): #040c67, #030b5e, #030a54, #03094a, #020845, #02073b, #020631, #010527, #01031e, #010214

## Harmonies

- Complementary: #716804
- Analogous: #044471, #320471
- Triadic: #71040d, #0d7104
- Split-complementary: #713204, #447104
- Tetradic: #710444, #716804, #047132

## Colors that go with #040d71

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 #040d71: 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 #040d71 — 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 #040d71'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 #040d71: 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 #040d71: 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), Panasonic (https://brandsweets.com/colors/brands/panasonic-com), Skechers (https://brandsweets.com/colors/brands/skechers-com). — https://brandsweets.com/colors/denim
- **Royal Blue** #4169e1 [pool] — Royal Blue is paired with #040d71 in 7 real palettes, including Discord's brand system and Spectrum's brand system, as the lead colour. Seen in: Discord (https://brandsweets.com/colors/brands/discord), Spectrum (https://brandsweets.com/colors/brands/spectrum-com), GEICO (https://brandsweets.com/colors/brands/geico-com), Confluent (https://brandsweets.com/colors/brands/confluent-io). — https://brandsweets.com/colors/royalblue
- **Olive Green** #808000 [harmony: complementary] — Olive Green sits directly opposite #040d71 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
- **Powder Blue** #b0e0e6 [pool] — Designers have shipped Powder Blue with #040d71: 3 real palettes, including Glacier and First Snow, as the supporting colour. Seen in: Glacier (https://brandsweets.com/palettes/cool#glacier), First Snow (https://brandsweets.com/palettes/cool#first-snow), Frost & Ember (https://brandsweets.com/palettes/bold#frost-and-ember). — https://brandsweets.com/colors/powderblue

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

- On white (#ffffff): 16.14:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.3:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #5865f9 (4.64:1); AA: background → #8a8a8a (4.68:1); AAA: text → #848efb (7.24:1); AAA: background → #ababab (7.03: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/040d71-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: "#040d71" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
