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

This extremely dark, desaturated olive creates a moody, grounded foundation for UI designs. Because it is so close to black, #212117 works well as a softer alternative to standard dark mode backgrounds. White text provides excellent readability against this shade, ensuring high contrast for body copy. Use this hex code for serious, minimal interfaces where you need depth without the harshness of pure black.
Questions about #212117
What is #212117 in RGB, HSL and CMYK?
In RGB, #212117 is rgb(33, 33, 23), in HSL hsl(60, 18%, 11%) and in CMYK 0%, 0%, 30%, 87%. Browse more shades of black with names and hex codes.
How does #212117 compare to pure black in UI design?
#212117 acts as a softer, more organic alternative to pure black by introducing subtle olive undertones that reduce eye strain. It provides excellent readability for body text while maintaining the serious, minimal aesthetic required for modern dark mode interfaces.
What colors pair well with #212117?
This deep shade pairs beautifully with cream or warm beige to create a sophisticated, earthy contrast. You can also ground it with muted sage accents or bright, high-contrast white text to ensure that your design remains legible.
Is #212117 readable on white or black?
#212117 has a 16.22:1 contrast ratio on white and 1.29: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.