#2A2E2F Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #2a2e2f graphic
This dark charcoal functions as a softer alternative to pure black in interface design. Because it offers a 13.7:1 contrast ratio against white text, #2a2e2f works perfectly for accessible dark mode backgrounds. The hex code is #2a2e2f. Use this shade as a dominant base to ground minimalist layouts. Pair this neutral with muted pastels to prevent your designs from feeling overly heavy or gloomy.

Questions about #2a2e2f

What is #2a2e2f in RGB, HSL and CMYK?
In RGB, #2a2e2f is rgb(42, 46, 47), in HSL hsl(192, 6%, 17%) and in CMYK 11%, 2%, 0%, 82%. Browse more shades of black with names and hex codes.
Why is #2a2e2f better for user interfaces than pure black?
Using #2a2e2f reduces eye strain by softening the extreme contrast that occurs between pure black and white text. This deep charcoal maintains excellent readability while feeling less harsh, making it a professional choice for modern dark mode web layouts.
What colors pair well with #2a2e2f?
This versatile dark neutral works best when paired with muted pastels or desaturated earth tones to prevent a heavy appearance. Combining #2a2e2f with a soft sage or a subtle cream creates a sophisticated, grounded aesthetic that feels clean and contemporary.
Is #2a2e2f readable on white or black?
#2a2e2f has a 13.72:1 contrast ratio on white and 1.53: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.