#004F8A Hex Color

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

Hex color #004f8a graphic
Dark and moderately saturated, #004f8a is a cool blue with a slightly green undertone and a serious, dependable feel. The hex code #004f8a works well as a dominant color for finance, technology, government, and security interfaces. White text has about 8.4:1 contrast, making this shade practical for headers, navigation, and dark backgrounds.

Questions about #004f8a

What is #004f8a in RGB, HSL and CMYK?
In RGB, #004f8a is rgb(0, 79, 138), in HSL hsl(206, 100%, 27%) and in CMYK 100%, 43%, 0%, 46%.
What colors pair well with #004f8a?
For a balanced palette, pair #004f8a with white or pale gray, then add terracotta or muted gold as a warm accent; these choices soften its cool, slightly green undertone without competing with its serious character.
Is #004f8a warm or cool?
#004f8a reads as a cool blue because its blue component strongly outweighs red, while its moderate green component gives it a subtle green undertone rather than a violet cast. That balance makes it feel stable, formal, and dependable.
Is #004f8a readable on white or black?
#004f8a has a 8.44:1 contrast ratio on white and 2.48: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.