Color

#040d02

#040d02
hex#040d02
rgbrgb(4, 13, 2)
hslhsl(109, 73%, 3%)
oklchoklch(0.144 0.033 137.9)
Closest name: Blackn’t (#020f03)Relative luminance 0.0032

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#0b020d

#0a0d02 · #020d06

#02040d · #0d0204

Split-complementary

Open in tool →

#06020d · #0d020a

#020a0d · #0b020d · #0d0602

Contrast

#040d02 as textRatioAAAA largeAAAFix
Aaon white
19.74:1passpasspassPasses AAA — no fix needed.
Aaon black
1.06:1failfailfail
  • AA: use #2b8915 as the text (4.69:1)
  • AAA: use #35ac1b as the text (7.07:1)
  • AA: or shift the background to #7a7a7a (4.6:1)
  • AAA: or shift the background to #9c9c9c (7.19:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #040d02 as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#040d02 reads as vivid, dark, luxury. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #040d02
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #040d02 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/040d02-a4bea2-7e4edf-1f2d23-eef1e9?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md