#2F2A26 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This nearly black, desaturated brown projects a somber, grounded atmosphere. Because it is so dark, the hex code #2f2a26 serves best as a moody background rather than text. It provides exceptional contrast for white type, making it a reliable choice for dark mode UI. Pair it with soft cream or dusty ochre to prevent the palette from feeling too heavy or clinical.
Questions about #2f2a26
What is #2f2a26 in RGB, HSL and CMYK?
In RGB, #2f2a26 is rgb(47, 42, 38), in HSL hsl(27, 11%, 17%) and in CMYK 0%, 11%, 19%, 82%. Browse more shades of black with names and hex codes.
What is the best way to use #2f2a26 in UI design?
#2f2a26 works exceptionally well as a moody, full-page background color because it offers a softer, more organic alternative to pure black. Use it with clean white typography to ensure high readability and maintain a sophisticated, grounded aesthetic across modern dark-mode interfaces.
Which accent colors pair well with #2f2a26?
Is #2f2a26 readable on white or black?
#2f2a26 has a 14.18:1 contrast ratio on white and 1.48: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.