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

This saturated, dark blue serves as a grounded anchor for professional branding and UI backgrounds. With high readability for white text, #042b54 communicates stability and authority without feeling overly bright. It works well as a dominant base, though designers often turn to mixing black when this hue feels too light for a project. This hex code provides a serious alternative to black.
Questions about #042b54
What is #042b54 in RGB, HSL and CMYK?
In RGB, #042b54 is rgb(4, 43, 84), in HSL hsl(211, 91%, 17%) and in CMYK 95%, 49%, 0%, 67%. Browse more shades of blue with names and hex codes.
When should I use #042b54 instead of black?
Use #042b54 when you need a softer, more professional anchor that feels less harsh than pure black. It retains high contrast for white text while adding a subtle, sophisticated blue undertone that feels modern and intentional in UI design.
Which colors pair best with #042b54?
Is #042b54 readable on white or black?
#042b54 has a 14.20:1 contrast ratio on white and 1.47: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.