#0017B2 Hex Color

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

Hex color #0017b2 graphic
#0017b2 is a vivid, high-saturation blue that feels authoritative and modern. Because of its intensity, it functions best as a striking accent color or primary branding element rather than a large background. It pairs exceptionally well with sharp white text, offering high contrast and readability. Use this hex code when your project requires a serious, stable, and professional aesthetic.

Questions about #0017b2

What is #0017b2 in RGB, HSL and CMYK?
In RGB, #0017b2 is rgb(0, 23, 178), in HSL hsl(232, 100%, 35%) and in CMYK 100%, 87%, 0%, 30%.
What is the best way to use #0017b2 in a design layout?
#0017b2 functions best as a striking accent rather than a large background color because of its intense saturation. Use it to highlight call-to-action buttons, navigation elements, or branding logos, and always pair it with crisp white text for optimal readability.
Does #0017b2 work well for dark mode interfaces?
This shade is generally too dark and vivid for dark mode UI backgrounds, as it lacks sufficient contrast against standard white or light gray text. It is far more effective in light-themed designs where its deep, authoritative energy stands out against clean, neutral spaces.
Is #0017b2 readable on white or black?
#0017b2 has a 11.89:1 contrast ratio on white and 1.76: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.