#172F26 Hex Color

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

Hex color #172f26 graphic
This dark, desaturated teal leans heavily into charcoal, creating a moody, professional atmosphere. Because of its extreme depth, #172f26 works best as a primary background for UI designs rather than text. It pairs beautifully with soft creams or pale metallics to avoid looking muddy. This hex code offers excellent contrast for white typography, ensuring readability in minimalist, high-end layouts.

Questions about #172f26

What is #172f26 in RGB, HSL and CMYK?
In RGB, #172f26 is rgb(23, 47, 38), in HSL hsl(158, 34%, 14%) and in CMYK 51%, 0%, 19%, 82%.
How should I pair #172f26 in UI design?
#172f26 functions best as a dark, grounded background that makes light typography pop with high legibility. To keep the design feeling airy and elegant, pair it with soft creams or pale metallics rather than harsh stark whites, which can sometimes create too much tension.
Is #172f26 considered a warm or cool color?
#172f26 is definitively a cool-toned shade, sitting firmly in the dark teal family. Its heavy dose of charcoal gives it a serious, desaturated edge that feels much colder and more reserved than vibrant forest greens or standard navy blues.
Is #172f26 readable on white or black?
#172f26 has a 14.27:1 contrast ratio on white and 1.47: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.