Color
#040c20
#040c20rgb(4, 12, 32)hsl(223, 78%, 7%)oklch(0.159 0.045 263)Colors that go with #040c20
Charcoal, Dark Olive Green and Sea Green lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.
Charcoal #36454f
neutralshippedCharcoal is the text near-black for #040c20: softer than #000 and cool enough to feel like part of the same palette.
Dark Olive Green #556b2f
split-complementshippedDark Olive Green is a split-complement of #040c20: nearly opposite, so it still pops against it, without the vibrating edge of a true complement.
Sea Green #2e8b57
triadicshippedSea Green completes a triad with #040c20 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash.
Sienna #a0522d
complementaryshippedSienna sits directly opposite #040c20 on the wheel — the strongest contrast one hue can give another, so use it small: a button, a link colour, one highlight.
Slate Blue #6a5acd
analogousshippedSlate Blue is #040c20's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Steel Blue #4682b4
analogousshippedSteel Blue is #040c20's neighbour on the wheel, so the two read as one family — use it for hover states, gradients and secondary surfaces.
Amber #ffbf00
shippedAmber is paired with #040c20 in 14 real palettes, including Lemon Squeezy's brand system and Ahrefs's brand system, as the lead colour.
Blue #0000ff
shipped19 real palettes, including Kia's brand system and League of Legends's brand system put Blue beside #040c20, as the accent.
Real palettes that use #040c20
Tints & shades
Harmonies
Contrast
| #040c20 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 19.47:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 1.08:1 | fail | fail | fail |
Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #040c20 as the background.
Brands using this color
Fonts for this mood
#040c20 reads as cool, vivid, dark. The font library is tagged with the same vocabulary:
Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.
https://mcp.brandsweets.com/colors/mcpclaude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
›analyze #040c20 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/040c20-9ca3c4-df704e-211f2d-e9eff1?lock=0&style=vibrantWant the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: color.md