#021B79 Hex Color

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

Hex color #021b79 graphic
This dark, high-saturation blue feels authoritative and grounded. Because of its density, #021b79 works effectively as a full-screen background or a strong primary element in corporate branding. It provides high readability for white text, offering a 14.6:1 contrast ratio that meets all accessibility standards. Pair this hex code with muted golds or creams to prevent the palette from feeling too cold or overly clinical.

Questions about #021b79

What is #021b79 in RGB, HSL and CMYK?
In RGB, #021b79 is rgb(2, 27, 121), in HSL hsl(227, 97%, 24%) and in CMYK 98%, 78%, 0%, 53%.
What colors pair best with the dark blue of #021b79?
This deep blue functions best when paired with muted golds, creams, or soft greys to balance its intensity. Using these lighter, warmer neutrals prevents the palette from feeling overly clinical or cold while maintaining strong contrast for text.
Is #021b79 suitable for text on a white background?
Yes, #021b79 provides excellent readability when used as text against a white background. It offers a 14.6:1 contrast ratio, which comfortably exceeds standard accessibility requirements for both small body text and large headings in professional design layouts.
Is #021b79 readable on white or black?
#021b79 has a 14.62:1 contrast ratio on white and 1.43: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.