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

#1f1f22 is a dark, near-black neutral with subtle, cool undertones. It serves as a sophisticated alternative to pure black for UI backgrounds and typography. With a 16.4:1 contrast ratio against white text, it ensures excellent legibility for minimal designs. The hex code for this moody charcoal is #1f1f22.
Questions about #1f1f22
What is #1f1f22 in RGB, HSL and CMYK?
In RGB, #1f1f22 is rgb(31, 31, 34), in HSL hsl(240, 5%, 13%) and in CMYK 9%, 9%, 0%, 87%. Browse more shades of black with names and hex codes.
Why use #1f1f22 instead of pure black?
Using #1f1f22 creates a softer visual experience that reduces eye strain while maintaining a professional, high-contrast look for text. It feels less harsh on screens than absolute black, making it a staple for modern UI design and minimal branding.
What colors pair well with #1f1f22?
Is #1f1f22 readable on white or black?
#1f1f22 has a 16.44: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.