#172F3F Hex Color

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

Hex color #172f3f graphic
Dark and heavily muted, #172f3f is a blue with gray and slight green undertones. Its low lightness gives layouts a serious, secure, moody feel, making it effective as a dominant background for finance, technology, and government interfaces. White text reads clearly against it, with about a 13.9:1 contrast ratio. The hex code is #172f3f.

Questions about #172f3f

What is #172f3f in RGB, HSL and CMYK?
In RGB, #172f3f is rgb(23, 47, 63), in HSL hsl(204, 47%, 17%) and in CMYK 63%, 25%, 0%, 75%. Browse more shades of blue with names and hex codes.
What colors pair well with #172f3f?
The strongest pairings for #172f3f use warm terracotta accents, pale blue, or soft off-white, balancing its cool blue-gray depth with warmth and enough brightness for clear hierarchy in interfaces, editorial layouts, and brand palettes.
Where does #172f3f work well in a design?
#172f3f works well as a dominant background for finance, technology, government, and security-focused interfaces because its dark, muted blue-gray character feels stable, serious, and restrained without the starkness of pure black.
Is #172f3f readable on white or black?
#172f3f has a 13.86: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.