Color
#040e39
#040e39rgb(4, 14, 57)hsl(229, 87%, 12%)oklch(0.191 0.085 266.2)Colors that go with #040e39
Charcoal, Rust 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 #040e39: softer than #000 and cool enough to feel like part of the same palette.
Rust #b7410e
triadicshippedRust completes a triad with #040e39 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash.
Sea Green #2e8b57
triadicshippedSea Green completes a triad with #040e39 — three hues spaced evenly round the wheel, the classic way to get energy into a palette without a clash.
Sienna #a0522d
split-complementshippedSienna is a split-complement of #040e39: nearly opposite, so it still pops against it, without the vibrating edge of a true complement.
Slate Blue #6a5acd
analogousshippedSlate Blue is #040e39'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 #040e39'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 #040e39 in 14 real palettes, including Blueprint and Lemon Squeezy's brand system, as the accent.
Blue #0000ff
shipped19 real palettes, including Penpot's brand system and League of Legends's brand system put Blue beside #040e39, as the supporting colour.
Real palettes that use #040e39
Tints & shades
Harmonies
Contrast
| #040e39 as text | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaon white | 18.63:1 | pass | pass | pass | Passes AAA — no fix needed. |
Aaon black | 1.13: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 #040e39 as the background.
Brands using this color
Fonts for this mood
#040e39 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 #040e39 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link
/palettes/new/040e39-9c9fc4-df7e4e-231f2d-e9eef1?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