#171D1E Hex Color

A sophisticated near-black for modern interfaces

Hex color #171d1e graphic
This near-black grey provides a serious, muted foundation for dark mode interfaces. With its deep saturation and minimal chroma, the hex code #171d1e acts as a sophisticated alternative to pure black. It offers excellent contrast for white typography, ensuring readability in small sizes. Use this tone as a dominant background to ground moody designs, as it prevents the stark harshness often found in absolute black.

Questions about #171d1e

What is #171d1e in RGB, HSL and CMYK?
In RGB, #171d1e is rgb(23, 29, 30), in HSL hsl(189, 13%, 10%) and in CMYK 23%, 3%, 0%, 88%.
Why choose #171d1e over pure black for dark mode backgrounds?
Using #171d1e prevents the harsh, vibrating visual effect that often occurs when placing bright white text directly onto a pure black background. It creates a more natural, sophisticated depth that keeps eyes comfortable during long periods of reading on digital screens.
What color palettes complement the serious tone of #171d1e?
Because #171d1e is neutral and dark, it pairs effectively with high-contrast accent colors like bright cyan or soft amber to create a striking, modern aesthetic. These pops of color stand out clearly against the muted background without competing for visual dominance.
Is #171d1e readable on white or black?
#171d1e has a 17.06:1 contrast ratio on white and 1.23: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.