#00338D Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark and saturated, #00338d is a cool blue with a clear, authoritative presence. Its depth suggests trust, security, and professionalism, making it useful for finance, technology, government, and corporate branding. Use it as a dominant background with white type, which achieves about 11.3:1 contrast. The hex code for this blue is #00338d.
Questions about #00338d
What is #00338d in RGB, HSL and CMYK?
In RGB, #00338d is rgb(0, 51, 141), in HSL hsl(218, 100%, 28%) and in CMYK 100%, 64%, 0%, 45%.
What colors pair well with #00338d?
#00338d pairs well with white, pale blue, and warm neutrals such as beige, which soften its intensity, while muted gold adds a controlled touch of contrast to its cool, authoritative character. Use the lightest tones for backgrounds and check contrast when text sits over the blue.
Does #00338d feel warm or cool?
#00338d reads as a cool blue because its strong blue presence and low red content keep it crisp and deep, giving the shade a trustworthy, stable, and authoritative mood that suits professional interfaces, security products, and formal communications.
Can I use white text on #00338d?
Yes, white text on #00338d has about 11.3:1 contrast, exceeding WCAG AA and AAA thresholds for normal text and providing a strong choice for headings, navigation, buttons, and other foreground content. Check the exact font size and weight in context, especially for smaller secondary text.
Is #00338d readable on white or black?
#00338d has a 11.30:1 contrast ratio on white and 1.85: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.