#1F2224 Hex Color

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

Hex color #1f2224 graphic
This near-black charcoal offers a muted, sophisticated base for modern UI design. Because it sits on the edge of complete darkness, #1f2224 provides high contrast for white typography without the harshness of pure black. It works best as a dominant background color in dark mode interfaces, looking cleaner when paired with soft, muted accent colors rather than neon hues. The hex code for this neutral shade is #1f2224.

Questions about #1f2224

What is #1f2224 in RGB, HSL and CMYK?
In RGB, #1f2224 is rgb(31, 34, 36), in HSL hsl(204, 7%, 13%) and in CMYK 14%, 6%, 0%, 86%. Browse more shades of black with names and hex codes.
Why use #1f2224 instead of pure black for web backgrounds?
Using #1f2224 prevents the harsh, vibrating visual effect that occurs when pure black is placed against bright white text. This slightly lighter charcoal creates a softer, more professional interface that is easier on the eyes for extended reading sessions.
What colors pair well with #1f2224 in a UI design?
This deep charcoal works best when paired with muted, desaturated tones rather than high-saturation neons. It creates a balanced, modern look when accented with sage or soft terracotta, allowing the interface to feel grounded and intentional without appearing aggressive.
Is #1f2224 readable on white or black?
#1f2224 has a 15.99:1 contrast ratio on white and 1.31: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.