#04235F Hex Color

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

Hex color #04235f graphic
Not a bright or cheerful blue, #04235f is a deep navy that sits a few steps from mixing black. Its low lightness makes it a solid dominant base for finance, government, or dark mode UI. White text on this hex code reaches about 14.9:1 contrast, clearing WCAG AA with room to spare. Pair it with burgundy or muted gold to keep it from reading flat.

Questions about #04235f

What is #04235f in RGB, HSL and CMYK?
In RGB, #04235f is rgb(4, 35, 95), in HSL hsl(220, 92%, 19%) and in CMYK 96%, 63%, 0%, 63%. Browse more shades of blue with names and hex codes.
What colors pair well with #04235f?
Warm accents like burgundy, muted gold, or terracotta balance its cool, dim base. Cool grays and near-white neons work too, but warm tones stop it from reading flat.
Is #04235f readable on white or black?
#04235f has a 14.88:1 contrast ratio on white and 1.41: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.