#2B2F31 Hex Color

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

Hex color #2b2f31 graphic
Dark and low in saturation, #2b2f31 is a cool-leaning neutral grey with subtle blue undertones. Its ashy character brings seriousness and depth to interfaces, architecture, and minimal branding. Use this hex code as a dominant dark-mode background or for large typography. White text has about 13.5:1 contrast, supporting clear small body text.

Questions about #2b2f31

What is #2b2f31 in RGB, HSL and CMYK?
In RGB, #2b2f31 is rgb(43, 47, 49), in HSL hsl(200, 7%, 18%) and in CMYK 12%, 4%, 0%, 81%. Browse more shades of black with names and hex codes.
Does #2b2f31 work as a dark-mode background?
Yes. #2b2f31 works well as a dark-mode background because its low saturation and deep value create a calm, serious surface, while white text reaches about a 13.5:1 contrast ratio for readable body copy.
What colors pair well with #2b2f31?
Pair #2b2f31 with white or pale cool neutrals for crisp contrast, or add muted sage or terracotta accents to soften its ashy, blue-leaning base without losing a restrained modern feel.
Is #2b2f31 warm or cool?
#2b2f31 reads as a cool neutral gray because its subtle blue undertone offsets its very low saturation, giving it an ashy, serious character that suits technical interfaces, architecture, and minimalist branding.
Is #2b2f31 readable on white or black?
#2b2f31 has a 13.51:1 contrast ratio on white and 1.55: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.