#171D40 Hex Color

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

Hex color #171d40 graphic
Dark and muted, #171d40 is a cool indigo-navy with inky blue and gray undertones. Its low saturation creates a serious, mysterious mood suited to finance, luxury, meditation, and night-sky themes. Use it as a dominant background with white text for about 16.3:1 contrast. The hex code for this color is #171d40.

Questions about #171d40

What is #171d40 in RGB, HSL and CMYK?
In RGB, #171d40 is rgb(23, 29, 64), in HSL hsl(231, 47%, 17%) and in CMYK 64%, 55%, 0%, 75%. Browse more shades of blue with names and hex codes.
Is #171d40 warm or cool?
#171d40 reads as a cool color because its blue component is much stronger than its red and green components, while low saturation and gray undertones keep the indigo-navy appearance subdued rather than vivid.
What colors pair well with #171d40?
Pair #171d40 with white and soft gray for clarity, or warm ivory, muted gold, and restrained coral accents to offset its cool blue-gray base in dark interfaces.
Does #171d40 work as a background for white text?
Yes, #171d40 provides about a 16.3:1 contrast ratio with white, making it a strong dark background for readable body text, navigation, and interface elements while exceeding common WCAG AA and AAA thresholds for normal text.
What mood does #171d40 create?
#171d40 creates a serious, mysterious mood by combining inky blue depth with gray-muted softness; it suits finance, luxury, meditation, and night-sky themes without feeling bright or playful.
Is #171d40 readable on white or black?
#171d40 has a 16.32:1 contrast ratio on white and 1.28: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.