#1F2626 Hex Color

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

Hex color #1f2626 graphic
This near-black grey carries a cool, desaturated tone that feels professional and restrained. Because it is so dark, #1f2626 provides excellent contrast for white typography, making it a reliable choice for dark mode UI backgrounds. Avoid using it in small areas where it might look muddy; instead, use it as a dominant base to ground your design palette against brighter accent colors.

Questions about #1f2626

What is #1f2626 in RGB, HSL and CMYK?
In RGB, #1f2626 is rgb(31, 38, 38), in HSL hsl(180, 10%, 14%) and in CMYK 18%, 0%, 0%, 85%.
How does #1f2626 perform in dark mode UI?
#1f2626 functions as a sophisticated, softer alternative to pure black for background layers. It provides excellent readability for white or light grey typography while reducing eye strain, making it a reliable choice for professional dashboards and clean digital interfaces.
What colors pair well with #1f2626 for a palette?
This near-black works best when grounded by soft neutrals like slate or contrasted with vibrant accent colors. Because the hue is so dark and desaturated, it allows bright, saturated colors like mustard or teal to pop without competing for attention.
Is #1f2626 readable on white or black?
#1f2626 has a 15.40:1 contrast ratio on white and 1.36: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.