#254D97 Hex Color

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

Hex color #254d97 graphic
Dark and moderately muted, #254d97 is a cool blue with a slightly gray cast and enough saturation to feel dependable rather than dull. It suits security, finance, government, and technology interfaces, especially as a supporting tone beside white or cool gray. White text remains highly legible, with about an 8.1:1 contrast ratio. The hex code is #254d97.

Questions about #254d97

What is #254d97 in RGB, HSL and CMYK?
In RGB, #254d97 is rgb(37, 77, 151), in HSL hsl(219, 61%, 37%) and in CMYK 75%, 49%, 0%, 41%. Browse more shades of blue with names and hex codes.
Does #254d97 work well with white text?
Yes, #254d97 provides about an 8.1:1 contrast ratio with white, making white text highly legible for body copy, navigation, buttons, and other interface elements when accessibility is a priority across many interface contexts.
What colors pair well with #254d97?
#254d97 pairs well with white, cool gray, and pale blue-gray backgrounds, while muted gold or terracotta accents add warmth and contrast without overwhelming its restrained, professional character in interfaces and brand palettes.
Is #254d97 a warm or cool color?
#254d97 reads as a cool blue because its hue sits in the blue range and its slight gray cast softens the saturation. That balance gives it a calm, dependable feel rather than a bright or playful one.
Is #254d97 readable on white or black?
#254d97 has a 8.11:1 contrast ratio on white and 2.58: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.