#1E1F22 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black grey provides a serious, grounded foundation for modern dark mode interfaces. Because #1e1f22 is so desaturated and dark, it functions better as a background than as an accent. It maintains excellent readability with white text, offering a softer alternative to pitch black. The hex code for this neutral shade is #1e1f22.
Questions about #1e1f22
What is #1e1f22 in RGB, HSL and CMYK?
In RGB, #1e1f22 is rgb(30, 31, 34), in HSL hsl(225, 6%, 13%) and in CMYK 12%, 9%, 0%, 87%. Browse more shades of black with names and hex codes.
Is #1e1f22 a better choice than pure black for dark mode?
#1e1f22 is often superior to pure black because it reduces eye strain and provides a softer, more natural contrast against white text. Pure black can sometimes create visual fatigue or a harsh jitter effect on screen edges.
What colors pair best with #1e1f22?
#1e1f22 works beautifully with high-contrast accent colors like electric blue, soft cream, or muted sage. Because this shade is a neutral, desaturated grey, it serves as a steady backdrop that allows vibrant foreground elements to pop without competing for attention.
Is #1e1f22 readable on white or black?
#1e1f22 has a 16.47:1 contrast ratio on white and 1.27: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.