#0000BA Hex Color

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

Hex color #0000ba graphic
This intense, saturated blue carries an authoritative weight that works best as a bold accent rather than a primary background. Its high pigment load makes white text pop against it, ensuring excellent readability for UI buttons or call-to-action elements. Because it feels so heavy, pair it with muted grays or creams to balance the intensity. The hex code for this primary blue is #0000ba.

Questions about #0000ba

What is #0000ba in RGB, HSL and CMYK?
In RGB, #0000ba is rgb(0, 0, 186), in HSL hsl(240, 100%, 36%) and in CMYK 100%, 100%, 0%, 27%. Browse more shades of blue with names and hex codes.
What makes #0000ba suitable for user interface design?
The high pigment load in #0000ba provides excellent readability for white text, making it a reliable choice for buttons or primary call-to-action elements. Because the color is visually heavy, it performs best when balanced against neutral backgrounds like light gray or warm creams.
Which color palettes pair best with #0000ba?
This saturated blue benefits from pairings that soften its intensity, such as muted off-whites or soft sand tones. To create a balanced color scheme, consider using it as an accent alongside charcoal or other desaturated neutrals rather than competing primary colors.
Is #0000ba readable on white or black?
#0000ba has a 12.28:1 contrast ratio on white and 1.70: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.