#051F89 Hex Color

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

Hex color #051f89 graphic
The hex code #051f89 is a deep, cool blue with high saturation and very low lightness. Its strong blue undertone gives layouts a serious, controlled feel, suited to security, finance, technology, and formal branding. Use it as a dominant dark base with white text, which reaches about 13.4:1 contrast for readable body copy.

Questions about #051f89

What is #051f89 in RGB, HSL and CMYK?
In RGB, #051f89 is rgb(5, 31, 137), in HSL hsl(228, 93%, 28%) and in CMYK 96%, 77%, 0%, 46%.
What colors pair well with #051f89?
Muted warm accents such as burgundy or terracotta balance #051f89 by adding warmth without weakening its formal character. Soft gray and off-white also support clean interfaces, while bright blue nearby can make the palette feel overly saturated.
Is #051f89 readable on white or black?
#051f89 has a 13.42: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.