#12173E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#12173e is a heavily desaturated, near-black indigo that feels cold and incredibly formal. This dusty navy provides a grounded, stable base for high-contrast UI designs. Since white text reads easily against this dark tone, it serves well as a primary background for professional interfaces. Pair it with muted gold or copper accents to avoid the clinical feel of standard blue and white combinations. The hex code is #12173e.
Questions about #12173e
What is #12173e in RGB, HSL and CMYK?
In RGB, #12173e is rgb(18, 23, 62), in HSL hsl(233, 55%, 16%) and in CMYK 71%, 63%, 0%, 76%.
Why choose #12173e over pure black for UI design?
#12173e offers a softer, more sophisticated alternative to standard black by introducing subtle blue undertones that reduce visual strain on screens. This desaturated indigo feels less harsh while maintaining enough depth to anchor white or light-colored text effortlessly in any interface.
What accent colors work best with #12173e?
Is #12173e readable on white or black?
#12173e 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.