Color

#04182a

#04182a
hex#04182a
rgbrgb(4, 24, 42)
hslhsl(208, 83%, 9%)
oklchoklch(0.203 0.045 247.6)
Closest name: Dark Knight (#151931)Relative luminance 0.0085

Tints & shades

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

Harmonies

Complementary

Open in tool →

#2a1604

#042a29 · #04052a

#2a0418 · #182a04

Split-complementary

Open in tool →

#2a0405 · #2a2904

#29042a · #2a1604 · #052a04

Contrast

#04182a as textRatioAAAA largeAAAFix
Aaon white
17.96:1passpasspassPasses AAA — no fix needed.
Aaon black
1.17:1failfailfail
  • AA: use #1376cd as the text (4.5:1)
  • AAA: use #3b9aed as the text (7.03:1)
  • AA: or shift the background to #808080 (4.55:1)
  • AAA: or shift the background to #a3a3a3 (7.12:1)

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

Brands using this color

Palettes built around it

Fonts for this mood

#04182a reads as cool, vivid, dark. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #04182a
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 #04182a and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/04182a-9cadc4-df4e51-1f212d-e9f1f1?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