#020506 Hex Color

An intense ashy black with premium depth

Hex color #020506 graphic
This shade is an intense, ashy black with a dim, sooty character. Because of its extreme depth, #020506 creates a striking background for high-contrast UI designs. It provides excellent readability for white text, offering a 20.4:1 contrast ratio that satisfies accessibility needs. Use this hex code as a moody, premium alternative to standard black to ground your interface with authority and modern elegance.

Questions about #020506

What is #020506 in RGB, HSL and CMYK?
In RGB, #020506 is rgb(2, 5, 6), in HSL hsl(195, 50%, 2%) and in CMYK 67%, 17%, 0%, 98%.
Why use #020506 instead of standard black for website backgrounds?
#020506 provides a softer, more premium aesthetic than pure black while maintaining extreme contrast for white text. Its subtle ashy undertone reduces harshness on the eyes, making it an ideal choice for sophisticated dark mode interfaces and high-end branding.
What type of color palettes work best with #020506?
Because #020506 acts as a near-neutral anchor, it pairs exceptionally well with muted metallics, cool greys, or vibrant accent colors like electric blue or deep crimson. It creates a grounded, professional foundation that allows brighter interface elements to pop without overwhelming the layout.
Is #020506 readable on white or black?
#020506 has a 20.44:1 contrast ratio on white and 1.02:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.