#171A26 Hex Color

A sophisticated deep indigo for modern interfaces

Hex color #171a26 graphic
This inky, desaturated indigo functions best as a dark-mode background where harsh blacks feel too aggressive. The hex code #171a26 provides a softer, more sophisticated structure than pure black, making it an excellent base for high-contrast white typography. Its dusty, greyish undertones bring a serious, moody atmosphere to digital interfaces, though it can look slightly muddy if paired with other dark, low-chroma colors.

Questions about #171a26

What is #171a26 in RGB, HSL and CMYK?
In RGB, #171a26 is rgb(23, 26, 38), in HSL hsl(228, 25%, 12%) and in CMYK 39%, 32%, 0%, 85%.
Is #171a26 a suitable replacement for pure black in dark mode?
Yes, #171a26 acts as a sophisticated base that provides structure without the visual fatigue caused by pure black. It absorbs light more naturally, making it ideal for large interface backgrounds where you want to maintain high readability for white or light grey typography.
What colors pair well with #171a26?
Because of its cool, desaturated undertones, #171a26 works beautifully with silver or slate to maintain a monochromatic, professional aesthetic. For a more dynamic interface, accent it with muted jewel tones like emerald or burgundy to create depth without clashing.
Is #171a26 readable on white or black?
#171a26 has a 17.32:1 contrast ratio on white and 1.21: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.