#15173D Hex Color

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

Hex color #15173d graphic
This cool, unsaturated indigo is a solid choice for dark mode UI backgrounds. Because it is so dark, text stands out clearly against it, offering excellent readability for small type. Avoid using #15173d in small UI elements where it might muddy the design, as it functions best as a large-scale grounding base. This hex code provides a serious, professional alternative to stark black for finance or corporate branding.

Questions about #15173d

What is #15173d in RGB, HSL and CMYK?
In RGB, #15173d is rgb(21, 23, 61), in HSL hsl(237, 49%, 16%) and in CMYK 66%, 62%, 0%, 76%.
Why is #15173d a good choice for dark mode UI?
This color provides high readability for white text while avoiding the harshness of a true black background. It maintains a grounded, professional feel that works well in finance or software interfaces requiring long-term visual comfort and minimal eye strain.
What colors pair effectively with #15173d?
This deep indigo functions as a neutral base, allowing high-contrast accents to pop significantly against its dark surface. It pairs beautifully with cool white for text or crisp slate grays for secondary elements, creating a cohesive, modern visual hierarchy.
Is #15173d readable on white or black?
#15173d has a 17.18:1 contrast ratio on white and 1.22: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.