# #040a20

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

## Values

- Hex: `#040a20`
- RGB: rgb(4, 10, 32)
- HSL: hsl(227, 78%, 7%)
- OKLCH: oklch(0.154 0.048 266.4)
- Relative luminance: 0.0035
- Nearest named color: Mysterious Depths (#060929, Δ 1.977) — https://brandsweets.com/colors/mysterious-depths
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/040a20

## Tints & shades

- Tints (toward white): #091749, #0e2471, #13309a, #183dc3, #2a52e5, #5373ea, #7b94ef, #a4b5f4, #cdd7f9, #f6f8fe
- Shades (toward black): #040a20, #03091b, #03091b, #03091b, #03091b, #030717, #030717, #030717, #020612, #020612

## Harmonies

- Complementary: #201a04
- Analogous: #041820, #0c0420
- Triadic: #20040a, #0a2004
- Split-complementary: #200c04, #182004
- Tetradic: #200418, #201a04, #04200c

## Colors that go with #040a20

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 #040a20: softer than #000 and cool enough to feel like part of the same palette. Seen in: Asana (https://brandsweets.com/colors/brands/asana-com), Amazon (https://brandsweets.com/colors/brands/amazon-com), Bloomberg (https://brandsweets.com/colors/brands/bloomberg-com), Codecademy (https://brandsweets.com/colors/brands/codecademy-com). — https://brandsweets.com/colors/charcoal
- **Dark Olive Green** #556b2f [harmony, pool: complementary] — Dark Olive Green sits directly opposite #040a20 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. Seen in: Cohere (https://brandsweets.com/colors/brands/cohere-com), Miro (https://brandsweets.com/colors/brands/miro-com), Warp (https://brandsweets.com/colors/brands/warp-dev), Magazine Ochre (https://brandsweets.com/palettes/editorial#magazine-ochre). — https://brandsweets.com/colors/darkolivegreen
- **Sea Green** #2e8b57 [harmony, pool: triadic] — Sea Green completes a triad with #040a20 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Intel (https://brandsweets.com/colors/brands/intel-com), Kia (https://brandsweets.com/colors/brands/kia-com), Coinbase (https://brandsweets.com/colors/brands/coinbase), Asana (https://brandsweets.com/colors/brands/asana-com). — https://brandsweets.com/colors/seagreen
- **Sienna** #a0522d [harmony, pool: split] — Sienna is a split-complement of #040a20: nearly opposite, so it still pops against it, without the vibrating edge of a true complement. Seen in: Oatly (https://brandsweets.com/colors/brands/oatly-com), Coffee Bar (https://brandsweets.com/palettes/dark#coffee-bar), Woodsmoke (https://brandsweets.com/palettes/dark#woodsmoke), BrandSweets (https://brandsweets.com/colors/brands/brandsweets). — https://brandsweets.com/colors/sienna
- **Slate Blue** #6a5acd [harmony, pool: analogous] — Slate Blue is #040a20's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Sentry (https://brandsweets.com/colors/brands/sentry-io), Linear (https://brandsweets.com/colors/brands/linear), Calm (https://brandsweets.com/colors/brands/calm-com), Marvel (https://brandsweets.com/colors/brands/marvel-com). — https://brandsweets.com/colors/slateblue
- **Steel Blue** #4682b4 [harmony, pool: analogous] — Steel Blue is #040a20's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Olympics (https://brandsweets.com/colors/brands/olympics-com), Lemon Squeezy (https://brandsweets.com/colors/brands/lemonsqueezy-com), American Express (https://brandsweets.com/colors/brands/americanexpress-com), Plaid (https://brandsweets.com/colors/brands/plaid-com). — https://brandsweets.com/colors/steelblue
- **Amber** #ffbf00 [pool] — Amber is paired with #040a20 in 16 real palettes, including Southwest Airlines's brand system and Lemon Squeezy's brand system, as the accent. Seen in: Southwest Airlines (https://brandsweets.com/colors/brands/southwest-com), Lemon Squeezy (https://brandsweets.com/colors/brands/lemonsqueezy-com), Ahrefs (https://brandsweets.com/colors/brands/ahrefs-com), Mastodon hosted on mastodon.social (https://brandsweets.com/colors/brands/mastodon-social). — https://brandsweets.com/colors/amber
- **Blue** #0000ff [pool] — 18 real palettes, including Kia's brand system and League of Legends's brand system put Blue beside #040a20, as the accent. Seen in: Kia (https://brandsweets.com/colors/brands/kia-com), League of Legends (https://brandsweets.com/colors/brands/leagueoflegends-com), MongoDB (https://brandsweets.com/colors/brands/mongodb-com), Pfizer (https://brandsweets.com/colors/brands/pfizer-com). — https://brandsweets.com/colors/blue

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

- On white (#ffffff): 19.64:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.07:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #496ce9 (4.6:1); AA: background → #7a7a7a (4.57:1); AAA: text → #7791ee (7.07:1); AAA: background → #9c9c9c (7.15:1)

## Brands using this color

- **Twilio** — text #000d25 (Δ 1.52) — https://brandsweets.com/colors/brands/twilio-com

## 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/040a20-9ca0c4-df7a4e-221f2d-e9eff1?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: "#040a20" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
