#02257D Hex Color

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

Hex color #02257d graphic
The hex code #02257d defines a dark, highly saturated blue with a cool, slightly violet undertone. Its low lightness gives layouts a serious, controlled mood suited to finance, government, security, and corporate branding. Use it as a dominant background or header color with white text, which achieves about 13.4:1 contrast for clear body copy.

Questions about #02257d

What is #02257d in RGB, HSL and CMYK?
In RGB, #02257d is rgb(2, 37, 125), in HSL hsl(223, 97%, 25%) and in CMYK 98%, 70%, 0%, 51%. Browse more shades of blue with names and hex codes.
What colors pair well with #02257d?
#02257d pairs well with white, pale blue, warm gold, and light neutral backgrounds, creating crisp contrast while balancing its cool, serious base in interfaces, editorial layouts, and brand systems with clear visual hierarchy. Use subdued beige or sand accents when you want the palette to feel less formal.
What mood does #02257d create?
#02257d reads as a cool, controlled blue with a slight violet cast, giving interfaces a serious, dependable feel that suits navigation, headers, dashboards, finance, security, and government-oriented designs especially well in practice.
Is #02257d readable on white or black?
#02257d has a 13.43:1 contrast ratio on white and 1.56: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.