#2A2A2F Hex Color

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

Hex color #2a2a2f graphic
This charcoal grey sits between a true black and a slate, offering a grounded, neutral base for dark mode interfaces. Because it maintains high contrast with white text, it works well for readable body copy without the harshness of pure black. Use #2a2a2f as a dominant background color in minimal designs to create a stable, professional look that keeps user focus on content.

Questions about #2a2a2f

What is #2a2a2f in RGB, HSL and CMYK?
In RGB, #2a2a2f is rgb(42, 42, 47), in HSL hsl(240, 6%, 17%) and in CMYK 11%, 11%, 0%, 82%. Browse more shades of black with names and hex codes.
Is #2a2a2f a better choice for dark mode than pure black?
Using #2a2a2f is significantly easier on the eyes than pure black because it reduces the intense contrast that can cause eye strain during extended reading. It provides the depth designers need while maintaining a more natural, subtle visual hierarchy.
What colors pair best with #2a2a2f?
This shade works best when paired with soft, desaturated accents to maintain its grounded feel. Try highlighting with off-white for text or using a muted slate blue for secondary elements to create a calm, professional, and balanced design palette.
Is #2a2a2f readable on white or black?
#2a2a2f has a 14.27:1 contrast ratio on white and 1.47: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.