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

Dark and slightly muted, #051f5a is a deep blue with a cool, shadowed character. Its low lightness gives layouts a serious, secure feel, making it effective for finance, technology, government, and corporate branding. Use it as a dominant background with white text, which reaches about 15.6:1 contrast. The hex code for this color is #051f5a.
Questions about #051f5a
What is #051f5a in RGB, HSL and CMYK?
In RGB, #051f5a is rgb(5, 31, 90), in HSL hsl(222, 89%, 19%) and in CMYK 94%, 66%, 0%, 65%. Browse more shades of blue with names and hex codes.
What colors pair well with #051f5a?
The #051f5a hex color pairs well with white, pale blue, soft gray, and muted warm accents, creating clear contrast while softening its cool, serious base for interfaces, presentations, and brand palettes.
Does #051f5a read as warm or cool?
The #051f5a hex color reads as cool because its deep blue hue and low lightness create a shadowed, crisp appearance rather than the warmth associated with red, orange, or yellow undertones, supporting a reserved, dependable mood.
Where does #051f5a work well in a design?
Use #051f5a as a dominant background, navigation color, heading color, or button fill when a layout needs a serious, secure feel; pair it with white text for maximum contrast and reserve lighter blues for secondary surfaces.
Is #051f5a readable on white or black?
#051f5a has a 15.55:1 contrast ratio on white and 1.35: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.