Color

#04071f

#04071f
hex#04071f
rgbrgb(4, 7, 31)
hslhsl(233, 77%, 7%)
oklchoklch(0.144 0.052 270.8)
Closest name: Mysterious Depths (#060929)Relative luminance 0.0028

Tints & shades

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

Harmonies

Complementary

Open in tool →

#201c04

#041520 · #0f0420

#200407 · #072004

Split-complementary

Open in tool →

#200f04 · #152004

#200415 · #201c04 · #04200f

Contrast

#04071f as textRatioAAAA largeAAAFix
Aaon white
19.9:1passpasspassPasses AAA — no fix needed.
Aaon black
1.06:1failfailfail
  • AA: use #5869e9 as the text (4.61:1)
  • AAA: use #8592ef as the text (7.36:1)
  • AA: or shift the background to #787878 (4.51:1)
  • AAA: or shift the background to #9c9c9c (7.25:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #04071f 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

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

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

tool url/palettes/new/04071f-9c9cc4-df884e-241f2d-e9eef1?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