#171D21 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #171d21 graphic
Close to wet slate at dusk, #171d21 is a charcoal blue with a faint cool cast and almost no saturation left. That heavy darkness makes it a dependable base rather than a feature color: use it as a dominant background in dark mode UI, finance dashboards, or moody brand palettes, then let type and accents carry the interest. The hex code #171d21 gives white text roughly 17:1 contrast, so small body copy stays readable on top of it. Pair it with muted gold or burgundy accents for warmth, since cool grays alone can leave it feeling flat.

Questions about #171d21

What is #171d21 in RGB, HSL and CMYK?
In RGB, #171d21 is rgb(23, 29, 33), in HSL hsl(204, 18%, 11%) and in CMYK 30%, 12%, 0%, 87%. Browse more shades of black with names and hex codes.
What colors pair well with #171d21?
Muted gold and burgundy accents keep this charcoal blue from feeling flat, while white text is the safest choice for anything readable on top of it. Cool grays and slate also sit comfortably beside it, though sticking only to cool neutrals can make the result feel airless.
Is #171d21 warm or cool?
It reads cool. The blue undertone outweighs any warmth, so it belongs with grays and slate rather than browns or creams. That cool cast suits finance, security, and technology branding where a steady, serious base matters more than energy.
Is #171d21 readable on white or black?
#171d21 has a 17.01: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.