#15171B Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Close to charcoal with a faint blue undertone, #15171b is a dark grey that sits just above black. The hex code works well as a base for dark interfaces and moody layouts, where white text reaches about 17.9:1 contrast. Its muted, near-neutral character stays calm under brighter accents. Pair it with warm amber or terracotta so large surfaces don’t read flat.
Questions about #15171b
What is #15171b in RGB, HSL and CMYK?
In RGB, #15171b is rgb(21, 23, 27), in HSL hsl(220, 13%, 9%) and in CMYK 22%, 15%, 0%, 89%. Browse more shades of black with names and hex codes.
What text color works best on #15171b?
White text on #15171b reaches roughly 17.9:1 contrast, well past the 4.5:1 that WCAG AA requires for body copy. Light greys also work for secondary text.
What colors pair well with #15171b?
Warm accents like amber, terracotta, or muted gold keep #15171b from feeling flat across large areas. Avoid pairing it with pure black, since the two blur together.
Is #15171b readable on white or black?
#15171b has a 17.94:1 contrast ratio on white and 1.17: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.