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

This near-black, desaturated slate functions as a sophisticated alternative to pure black for dark mode interfaces. Because it features strong accessibility with white text, providing a 17.8:1 contrast ratio, it works well as a primary background for tech or finance brands. Pair the hex code #0a1a21 with soft, muted greys to avoid harsh lines in your UI designs.
Questions about #0a1a21
What is #0a1a21 in RGB, HSL and CMYK?
In RGB, #0a1a21 is rgb(10, 26, 33), in HSL hsl(198, 53%, 8%) and in CMYK 70%, 21%, 0%, 87%.
Why is #0a1a21 better for UI design than pure black?
Pure black often feels harsh on the eyes, whereas #0a1a21 introduces a subtle, desaturated slate depth that softens screen glare. It provides a more natural, comfortable background for long-term reading in dark mode interfaces while maintaining elite accessibility standards.
What colors pair best with #0a1a21?
Pair #0a1a21 with soft, desaturated neutrals like charcoal or cool-toned greys to maintain a sophisticated, monochromatic look. For active elements or calls to action, crisp white text or muted teal accents provide the necessary visual pop without clashing with the dark base.
Is #0a1a21 readable on white or black?
#0a1a21 has a 17.75:1 contrast ratio on white and 1.18: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.