# #040f1f

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

## Values

- Hex: `#040f1f`
- RGB: rgb(4, 15, 31)
- HSL: hsl(216, 77%, 7%)
- OKLCH: oklch(0.167 0.038 255.4)
- Relative luminance: 0.0047
- Nearest named color: Midnight Edition (#0c121b, Δ 2.191) — https://brandsweets.com/colors/midnight-edition
- Moods: cool, vivid, dark, technical, modern, luxury, bold
- Page: https://brandsweets.com/colors/040f1f

## Tints & shades

- Tints (toward white): #092348, #0f3671, #144999, #195dc2, #2b75e3, #538fe9, #7caaee, #a5c4f3, #cddff9, #f6f9fe
- Shades (toward black): #040f20, #040d1b, #040d1b, #040d1b, #040d1b, #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 #040f1f

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 #040f1f: 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 #040f1f — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Noir Beauty (https://brandsweets.com/palettes/dark#noir-beauty), Semrush (https://brandsweets.com/colors/brands/semrush-com), Wayfair (https://brandsweets.com/colors/brands/wayfair-com), Gallery (https://brandsweets.com/palettes/editorial#gallery). — https://brandsweets.com/colors/rust
- **Sea Green** #2e8b57 [harmony, pool: triadic] — Sea Green completes a triad with #040f1f — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash. Seen in: Kia (https://brandsweets.com/colors/brands/kia-com), Intel (https://brandsweets.com/colors/brands/intel-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 #040f1f 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 #040f1f's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces. Seen in: Linear (https://brandsweets.com/colors/brands/linear), Sentry (https://brandsweets.com/colors/brands/sentry-io), 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 #040f1f'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), Redfin (https://brandsweets.com/colors/brands/redfin-com), Clinic (https://brandsweets.com/palettes/clean#clinic), Perplexity (https://brandsweets.com/colors/brands/perplexity). — https://brandsweets.com/colors/teal
- **Amber** #ffbf00 [pool] — Amber is paired with #040f1f 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), 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] — 20 real palettes, including Kia's brand system and MongoDB's brand system put Blue beside #040f1f, as the accent. Seen in: Kia (https://brandsweets.com/colors/brands/kia-com), MongoDB (https://brandsweets.com/colors/brands/mongodb-com), League of Legends (https://brandsweets.com/colors/brands/leagueoflegends-com), Monzo (https://brandsweets.com/colors/brands/monzo-com). — https://brandsweets.com/colors/blue

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

- On white (#ffffff): 19.21:1 — AA pass, AA-large pass, AAA pass
- On black (#000000): 1.09:1 — AA fail, AA-large fail, AAA fail. Fix: AA: text → #2672e3 (4.6:1); AA: background → #7d7d7d (4.67:1); AAA: text → #6198ea (7.19:1); AAA: background → #9e9e9e (7.17:1)

## Brands using this color

- **Southwest Airlines** — primary #090f23 (Δ 1.302) — https://brandsweets.com/colors/brands/southwest-com
- **Southwest Airlines** — text #090f23 (Δ 1.302) — https://brandsweets.com/colors/brands/southwest-com
- **Audible** — text #010e19 (Δ 1.532) — https://brandsweets.com/colors/brands/audible-com
- **Hugging Face** — primary #0b0f19 (Δ 1.742) — https://brandsweets.com/colors/brands/huggingface-co
- **Twilio** — text #000d25 (Δ 1.795) — https://brandsweets.com/colors/brands/twilio-com
- **Kia** — primary #05141f (Δ 1.975) — https://brandsweets.com/colors/brands/kia-com
- **Kia** — text #05141f (Δ 1.975) — https://brandsweets.com/colors/brands/kia-com
- **Intel** — text #000f28 (Δ 1.983) — https://brandsweets.com/colors/brands/intel-com

## 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/040f1f-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: "#040f1f" })`), `check_contrast` (with fixes), `generate_palette` (explore around locks), `suggest_palette` (mood/industry → curated-first), `list_palettes`.
