# #040f20

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

## Values

- Hex: `#040f20`
- RGB: rgb(4, 15, 32)
- HSL: hsl(216, 78%, 7%)
- OKLCH: oklch(0.168 0.04 256.6)
- Relative luminance: 0.0047
- Nearest named color: Midnight Edition (#0c121b, Δ 2.288) — https://brandsweets.com/colors/midnight-edition
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/040f20

## Tints & shades

- Tints (toward white): #092249, #0e3671, #13499a, #185dc3, #2a74e5, #538fea, #7baaef, #a4c4f4, #cddff9, #f6f9fe
- Shades (toward black): #040f20, #030d1b, #030d1b, #030d1b, #030d1b, #030b17, #030b17, #030b17, #020912, #020912

## Harmonies

- Complementary: #201504
- Analogous: #041d20, #070420
- Triadic: #20040f, #0f2004
- Split-complementary: #200704, #1d2004
- Tetradic: #20041d, #201504, #042007

## Colors that go with #040f20

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 #040f20: softer than #000 and cool enough to feel like part of the same palette. Seen in: Amazon (https://brandsweets.com/colors/brands/amazon-com), Asana (https://brandsweets.com/colors/brands/asana-com), Bloomberg (https://brandsweets.com/colors/brands/bloomberg-com), Codecademy (https://brandsweets.com/colors/brands/codecademy-com). — https://brandsweets.com/colors/charcoal
- **Rust** #b7410e [harmony, pool: triadic] — Rust completes a triad with #040f20 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Semrush (https://brandsweets.com/colors/brands/semrush-com), Wayfair (https://brandsweets.com/colors/brands/wayfair-com), Noir Beauty (https://brandsweets.com/palettes/dark#noir-beauty), Gallery (https://brandsweets.com/palettes/editorial#gallery). — https://brandsweets.com/colors/rust
- **Sea Green** #2e8b57 [harmony, pool: triadic] — Sea Green completes a triad with #040f20 — 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), Lemon Squeezy (https://brandsweets.com/colors/brands/lemonsqueezy-com), Coinbase (https://brandsweets.com/colors/brands/coinbase). — https://brandsweets.com/colors/seagreen
- **Sienna** #a0522d [harmony, pool: complementary] — Sienna sits directly opposite #040f20 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight. 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 #040f20'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
- **Teal** #008080 [harmony, pool: analogous] — Teal is #040f20's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Gemstone (https://brandsweets.com/palettes/vivid#gemstone), Clinic (https://brandsweets.com/palettes/clean#clinic), Redfin (https://brandsweets.com/colors/brands/redfin-com), Perplexity (https://brandsweets.com/colors/brands/perplexity). — https://brandsweets.com/colors/teal
- **Amber** #ffbf00 [pool] — Amber is paired with #040f20 in 18 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), Blueprint (https://brandsweets.com/palettes/technical#blueprint), Ahrefs (https://brandsweets.com/colors/brands/ahrefs-com). — https://brandsweets.com/colors/amber
- **Blue** #0000ff [pool] — 20 real palettes, including Kia's brand system and League of Legends's brand system put Blue beside #040f20, 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), Monzo (https://brandsweets.com/colors/brands/monzo-com). — https://brandsweets.com/colors/blue

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

- On white (#ffffff): 19.19:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.09:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #2572e4 (4.61:1); AA: background → #7d7d7d (4.66:1); AAA: text → #6098eb (7.19:1); AAA: background → #9e9e9e (7.16:1)

## Brands using this color

- **Southwest Airlines** — primary #090f23 (Δ 1.161) — https://brandsweets.com/colors/brands/southwest-com
- **Southwest Airlines** — text #090f23 (Δ 1.161) — https://brandsweets.com/colors/brands/southwest-com
- **Twilio** — text #000d25 (Δ 1.645) — https://brandsweets.com/colors/brands/twilio-com
- **Audible** — text #010e19 (Δ 1.715) — https://brandsweets.com/colors/brands/audible-com
- **Intel** — text #000f28 (Δ 1.792) — https://brandsweets.com/colors/brands/intel-com
- **Hugging Face** — primary #0b0f19 (Δ 1.89) — https://brandsweets.com/colors/brands/huggingface-co

## Curated palettes containing it

- **Ledger Dark** (dark, luxury, technical) — #c9a227, #7c8aa5, #34d399, #0c1222, #e8edf5 — Gold on midnight is the private-banking cue; the mint accent keeps it from feeling old-money stuffy. — tool: https://brandsweets.com/palettes/new/c9a227-7c8aa5-34d399-0c1222-e8edf5 — collection: https://brandsweets.com/palettes/dark

## 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/040f20-9ca7c4-df5f4e-201f2d-e9f0f1?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: "#040f20" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
