#221F23 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black grey provides a stable foundation for dark mode interfaces. Because it offers high contrast against white text at 16.3:1, it works well for body copy without straining eyes. The hex code for this color is #221f23. Use it to ground bright accent colors in minimal designs where a standard black feels too harsh or artificial.
Questions about #221f23
What is #221f23 in RGB, HSL and CMYK?
In RGB, #221f23 is rgb(34, 31, 35), in HSL hsl(285, 6%, 13%) and in CMYK 3%, 11%, 0%, 86%. Browse more shades of black with names and hex codes.
Is #221f23 a better choice than pure black for dark mode interfaces?
Using #221f23 instead of pure black significantly reduces eye strain by lowering the intense contrast between text and background. While pure black (#000000) can feel jarring, this softened charcoal creates a more comfortable, professional depth for long-form reading applications.
What colors pair well with #221f23?
Because #221f23 is a neutral near-black, it serves as an excellent anchor for almost any vibrant accent color. It creates a balanced, sophisticated aesthetic when paired with muted sage tones or bright, high-saturation colors that need a stable, grounded foundation.
Is #221f23 readable on white or black?
#221f23 has a 16.30:1 contrast ratio on white and 1.28: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.