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

Dark and saturated, #0542b3 is a cool blue with a clean, slightly electric character. Its strong chroma suggests reliability and control, making it effective for technology, finance, government, and security branding. Use the hex code as a dominant interface color with white text, which achieves about an 8.6:1 contrast ratio for clear body copy.
Questions about #0542b3
What is #0542b3 in RGB, HSL and CMYK?
In RGB, #0542b3 is rgb(5, 66, 179), in HSL hsl(219, 95%, 36%) and in CMYK 97%, 63%, 0%, 30%. Browse more shades of blue with names and hex codes.
What colors pair well with #0542b3?
#0542b3 pairs well with white, pale gray, and warm accents such as coral or amber, which soften its cool intensity while preserving contrast in buttons, highlights, or calls to action. Muted neutrals keep the result professional, while warm accents add energy.
Does #0542b3 read as warm or cool?
#0542b3 reads as a cool blue because its blue channel dominates the red and green channels, while its strong saturation gives the shade a crisp, slightly electric presence in most interfaces. It communicates clarity, reliability, and focused digital energy.
Is #0542b3 readable on white or black?
#0542b3 has a 8.61:1 contrast ratio on white and 2.43: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.