#171540 Hex Color
A shadowed indigo with formal depth

#171540 is a dark, muted indigo with cool blue-violet undertones. Its low lightness and soft saturation create a serious, shadowed mood suited to night-sky themes, meditation, luxury, and formal branding. Use this hex code as a dominant background with white text, which reaches about 17.2:1 contrast and meets WCAG AA for small body text.
Questions about #171540
What is #171540 in RGB, HSL and CMYK?
In RGB, #171540 is rgb(23, 21, 64), in HSL hsl(243, 51%, 17%) and in CMYK 64%, 67%, 0%, 75%.
What colors pair well with #171540?
#171540 pairs well with muted burgundy, dusty lavender, and warm off-white, which add contrast without breaking its restrained mood and balance the shade's low lightness in editorial, spiritual, or formal design palettes. Use burgundy for a richer accent and off-white for softer layouts.
Is #171540 suitable for text and backgrounds?
#171540 works especially well as a dark background because white text has about a 17.2:1 contrast ratio, exceeding the 4.5:1 WCAG AA threshold for normal body text and supporting clear reading in interfaces. It fits dark-mode panels, headers, and large color fields.
Does #171540 read warm or cool?
#171540 reads cool because its very dark, muted base leans toward blue-violet rather than red or brown. Its low saturation keeps that coolness subdued, giving layouts a shadowed, serious feel instead of a bright or electric indigo effect.
Is #171540 readable on white or black?
#171540 has a 17.24:1 contrast ratio on white and 1.21: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.