#0D2271 Hex Color

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

Hex color #0d2271 graphic
Darker than a midnight sky, this navy sits just shy of black. #0d2271 is cool and muted, which makes it a strong base for finance, law, and moody interface design. White text reads clearly on it at about 14.1:1 contrast, well past WCAG AA for body copy. It looks richer against burgundy or brass than against plain gray, and you can push it even darker by learning what colors make black.

Questions about #0d2271

What is #0d2271 in RGB, HSL and CMYK?
In RGB, #0d2271 is rgb(13, 34, 113), in HSL hsl(227, 79%, 25%) and in CMYK 88%, 70%, 0%, 56%. Browse more shades of blue with names and hex codes.
What colors pair well with #0d2271?
Burgundy, brass, and warm ochre bring out the depth in #0d2271, while cool grays can flatten it. Treat it as the dominant base in a 60/30/10 layout and spend accents sparingly.
Is #0d2271 readable on white or black?
#0d2271 has a 14.14:1 contrast ratio on white and 1.48: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.