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

This dim, inky tone leans heavily into dark grey, offering a muted alternative to standard navy. Because it sits at the intersection of serious and accessible, #1a202e works best as a primary background for dark mode interfaces. The high contrast against white text makes it highly legible for UI design. The hex code for this shade is #1a202e.
Questions about #1a202e
What is #1a202e in RGB, HSL and CMYK?
In RGB, #1a202e is rgb(26, 32, 46), in HSL hsl(222, 28%, 14%) and in CMYK 43%, 30%, 0%, 82%.
Where should I use #1a202e in a design project?
#1a202e excels as a primary background for modern web interfaces, particularly when pairing it with crisp white typography. Its inherent neutrality and high legibility make it a superior choice for dark mode layouts compared to absolute black, which can cause eye strain.
What colors pair well with #1a202e?
Is #1a202e readable on white or black?
#1a202e has a 16.27: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.