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

Almost black with a hint of navy, #021226 offers a moody, serious foundation for modern interfaces. This dark hex code provides enough contrast for white text to remain readable at small sizes. Because it feels formal and secure, it works best as a primary background color for finance or tech branding. Pair it with soft, muted greys to avoid harsh visual transitions in your layout.
Questions about #021226
What is #021226 in RGB, HSL and CMYK?
In RGB, #021226 is rgb(2, 18, 38), in HSL hsl(213, 90%, 8%) and in CMYK 95%, 53%, 0%, 85%. Browse more shades of black with names and hex codes.
What colors pair best with the dark #021226?
This deep navy works best when paired with neutral, lighter tones like slate or cool grays to prevent the design from feeling too heavy. It also provides a sharp, professional contrast against crisp white or soft silver for high-readability text.
Is #021226 suitable for primary background use?
Yes, #021226 is an excellent choice for backgrounds in finance and enterprise applications because it conveys stability and authority. Its extreme darkness allows for light-colored interface elements to pop while reducing eye strain during long periods of screen usage.
Is #021226 readable on white or black?
#021226 has a 18.79:1 contrast ratio on white and 1.11: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.