#12171F Hex Color

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

Hex color #12171f graphic
Darker than a midnight sky, #12171f is a near-black navy with a muted, ashy undertone. Its deep lightness and low saturation give it a steady, serious feel that suits dark mode interfaces, finance, and tech branding. Treat it as a dominant base color rather than an accent. Warm amber or dusty coral brings out its richness, and white text hits about 18:1 contrast on it.

Questions about #12171f

What is #12171f in RGB, HSL and CMYK?
In RGB, #12171f is rgb(18, 23, 31), in HSL hsl(217, 27%, 10%) and in CMYK 42%, 26%, 0%, 88%. Browse more shades of black with names and hex codes.
What colors pair well with #12171f?
Warm tones like amber, dusty coral, and muted gold bring out the depth in #12171f and keep it from reading flat. For cooler palettes, light slate and desaturated cyan offer contrast without harshness.
Is #12171f readable on white or black?
#12171f has a 17.97:1 contrast ratio on white and 1.16: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.