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

This near-black charcoal gray functions as an ideal base for dark mode interfaces. Because #1e1e1f is so dark, it requires white typography to maintain high legibility. It offers a 16.7:1 contrast ratio with white, ensuring excellent accessibility for body text. This neutral hex code provides a sophisticated, professional anchor for moody designs where standard black feels too harsh.
Questions about #1e1e1f
What is #1e1e1f in RGB, HSL and CMYK?
In RGB, #1e1e1f is rgb(30, 30, 31), in HSL hsl(240, 2%, 12%) and in CMYK 3%, 3%, 0%, 88%.
Why is #1e1e1f better than standard black for dark mode?
Using #1e1e1f prevents the harsh, clinical feeling that pure black often creates in digital interfaces. This charcoal gray provides a subtle depth that feels more natural and professional, significantly reducing eye strain when paired with light gray or white text.
Is #1e1e1f readable on white or black?
#1e1e1f has a 16.65: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.