#171C2F Hex Color

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

Hex color #171c2f graphic
This inky, desaturated indigo sits near the edge of black, creating a stable base for moody UI layouts and dark mode interfaces. The hex code #171c2f offers exceptional contrast with white text, making it a reliable choice for readable body content. Use it alongside soft, muted metallics instead of pure white to avoid a harsh, clinical appearance in your designs.

Questions about #171c2f

What is #171c2f in RGB, HSL and CMYK?
In RGB, #171c2f is rgb(23, 28, 47), in HSL hsl(228, 34%, 14%) and in CMYK 51%, 40%, 0%, 82%. Browse more shades of black with names and hex codes.
What colors pair well with #171c2f in a UI design?
This deep indigo works best when paired with soft, muted metallics like silver or warm off-whites to avoid the harshness of pure white. It also acts as an excellent neutral foundation against vibrant accents like tangerine or gold for high-contrast, professional highlights.
Is #171c2f readable on white or black?
#171c2f has a 16.88:1 contrast ratio on white and 1.24: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.