Color

#042a2f

#042a2f
hex#042a2f
rgbrgb(4, 42, 47)
hslhsl(187, 84%, 10%)
oklchoklch(0.262 0.042 207.9)
Closest name: Black Box (#0f282f)Relative luminance 0.0189

Tints & shades

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

Harmonies

Complementary

Open in tool →

#2f0904

#042f1e · #04152f

#2f042a · #2a2f04

Split-complementary

Open in tool →

#2f0415 · #2f1e04

#1e042f · #2f0904 · #152f04

Contrast

#042a2f as textRatioAAAA largeAAAFix
Aaon white
15.25:1passpasspassPasses AAA — no fix needed.
Aaon black
1.38:1failfailfail
  • AA: use #0d8291 as the text (4.62:1)
  • AAA: use #10a8bc as the text (7.35:1)
  • AA: or shift the background to #8c8c8c (4.53:1)
  • AAA: or shift the background to #b0b0b0 (7.03:1)

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

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

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

tool url/palettes/new/042a2f-a2b8be-df4e83-1f262d-e9f1ee?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