#1C1F21 Hex Color
A sophisticated near-black charcoal grey

This near-black grey provides a professional, grounded foundation for dark mode interfaces. Because of its extreme darkness and neutral character, white text remains highly legible against it. The hex code #1c1f21 works best as a primary background color rather than for fine details or typography, which can lose definition against such a deep, muted tone. Pair it with soft, muted accent colors to maintain a sophisticated palette.
Questions about #1c1f21
What is #1c1f21 in RGB, HSL and CMYK?
In RGB, #1c1f21 is rgb(28, 31, 33), in HSL hsl(204, 8%, 12%) and in CMYK 15%, 6%, 0%, 87%.
When should I use #1c1f21 instead of pure black?
Use #1c1f21 for dark mode backgrounds to reduce eye strain, as it provides a softer, more natural contrast than pure black (#000000). It makes white typography feel less harsh while maintaining a clean, professional aesthetic for modern interfaces.
Does #1c1f21 work well with colored accents?
Yes, because #1c1f21 is a neutral charcoal, it serves as an excellent canvas for vibrant accent colors. It pairs particularly well with electric blue or emerald green, allowing those hues to pop without appearing overly aggressive or tiring.
Is #1c1f21 readable on white or black?
#1c1f21 has a 16.57:1 contrast ratio on white and 1.26: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.