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

So dark and muted it borders on black, this navy reads steady and restrained rather than flashy. The hex code #051742 works best as a dominant base for dark interfaces, finance branding, or formal layouts. It flatters burgundy and warm gold accents, and white text on top reaches about 17.4:1 contrast, well past AA for body copy.
Questions about #051742
What is #051742 in RGB, HSL and CMYK?
In RGB, #051742 is rgb(5, 23, 66), in HSL hsl(222, 86%, 14%) and in CMYK 92%, 65%, 0%, 74%. Browse more shades of blue with names and hex codes.
What colors pair well with #051742?
Warm accents like burgundy, mustard, and antique gold keep this navy from feeling flat. Cool grays and slate work too, though they can blur together at low lightness.
Is #051742 readable on white or black?
#051742 has a 17.38:1 contrast ratio on white and 1.20: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.