#172C52 Hex Color

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

Hex color #172c52 graphic
This muted, desaturated blue offers a serious and professional presence. With its dark, dim character, #172c52 works best as a primary background color for corporate or tech interfaces. It provides enough contrast for white text to remain perfectly legible. If you are learning how to make black, this tone serves as a solid bridge between pure black and brighter blues. The hex code is #172c52.

Questions about #172c52

What is #172c52 in RGB, HSL and CMYK?
In RGB, #172c52 is rgb(23, 44, 82), in HSL hsl(219, 56%, 21%) and in CMYK 72%, 46%, 0%, 68%. Browse more shades of blue with names and hex codes.
How does #172c52 function in web design?
#172c52 acts as a sophisticated alternative to pure black for website backgrounds, particularly in tech or finance sectors. It provides excellent legibility for white or light gray typography while reducing the visual fatigue often caused by harsh high-contrast black and white interfaces.
Which colors pair effectively with #172c52?
This shade creates balanced, harmonious palettes when paired with softer neutrals or intentional highlights. It works exceptionally well alongside a clean cream to maintain readability or can be energized by accenting with mustard for a bold and modern corporate aesthetic.
Is #172c52 readable on white or black?
#172c52 has a 13.82:1 contrast ratio on white and 1.51: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.