#04127C Hex Color

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

Hex color #04127c graphic
Reach for #04127c when a header or corporate brand needs a dark navy with real weight. This hex code is dim, cool, and muted, so it reads serious rather than playful. It holds its blue undertone instead of collapsing toward mixing black, which keeps dark interfaces from feeling flat. White text hits about 15.2:1 contrast, well past WCAG AA. Burgundy or warm gold flatter it more than gray does.

Questions about #04127c

What is #04127c in RGB, HSL and CMYK?
In RGB, #04127c is rgb(4, 18, 124), in HSL hsl(233, 94%, 25%) and in CMYK 97%, 85%, 0%, 51%.
What text color should I use on #04127c?
White text is the clear choice, with a contrast ratio of about 15.2:1 against #04127c. That clears WCAG AA for small body text and even meets the stricter AAA threshold.
What colors pair well with #04127c?
Warm accents like burgundy, brass, and gold bring out the richness in this navy better than gray does. Cool grays work too, but they can make the palette feel flat.
Is #04127c readable on white or black?
#04127c has a 15.18:1 contrast ratio on white and 1.38: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.