#0038BA Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This intense blue sits on the border of a traditional navy and a high-energy royal hue. Because of its high saturation, #0038ba commands attention as an accent color rather than a subtle background. Pair it with soft grays to ground its boldness. It is perfect for professional UI elements or corporate branding that needs to project immediate authority. The hex code for this shade is #0038ba.
Questions about #0038ba
What is #0038ba in RGB, HSL and CMYK?
In RGB, #0038ba is rgb(0, 56, 186), in HSL hsl(222, 100%, 36%) and in CMYK 100%, 70%, 0%, 27%.
Which colors pair effectively with #0038ba for UI design?
This intense blue balances well when paired with neutral cool gray to ground its saturation, or with a sharp mustard yellow to create a complementary, energetic contrast that draws the eye immediately to key call-to-action buttons.
Is #0038ba readable on white or black?
#0038ba has a 9.23:1 contrast ratio on white and 2.27: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.