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

This dim, dusty blue acts as a grounding anchor for serious interfaces. Its unsaturated character avoids the harshness of pure black, making it an excellent base for corporate or nautical palettes. Because white text maintains an 18.2:1 contrast ratio against it, #021338 works well for legible dark mode backgrounds. Pair it with soft cream or muted gold to cut the gloom.
Questions about #021338
What is #021338 in RGB, HSL and CMYK?
In RGB, #021338 is rgb(2, 19, 56), in HSL hsl(221, 93%, 11%) and in CMYK 96%, 66%, 0%, 78%.
Why use #021338 instead of pure black for dark backgrounds?
#021338 provides a softer, more sophisticated look that avoids the harshness of pure black while still offering excellent readability. Its slight blue undertone creates a sense of depth and corporate professionalism often missing from standard black interface designs.
Which accent colors work best with #021338?
This deep blue pairs exceptionally well with muted metallics like champagne or soft, buttery creams to cut through the darkness. These lighter, warmer tones balance the cool, heavy nature of the navy, creating a balanced and high-end visual aesthetic.
Is #021338 readable on white or black?
#021338 has a 18.21:1 contrast ratio on white and 1.15: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.