#004F9F Hex Color

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

Hex color #004f9f graphic
This intense, saturated blue projects reliability and institutional authority. As a base color, #004f9f works best for tech and financial interfaces where readability is key. It pairs well with crisp white text, providing excellent contrast for UI elements. The hex code for this cool, professional shade is #004f9f. Use it sparingly as an accent to avoid making dark mode layouts feel overly heavy or gloomy.

Questions about #004f9f

What is #004f9f in RGB, HSL and CMYK?
In RGB, #004f9f is rgb(0, 79, 159), in HSL hsl(210, 100%, 31%) and in CMYK 100%, 50%, 0%, 38%.
What colors pair well with #004f9f?
Because #004f9f is a deep, saturated blue, it works best when balanced against neutral tones or high-contrast accents. Try pairing it with off-white for clean text readability or use a soft light gray to maintain a modern, professional aesthetic without overwhelming the viewer.
Is #004f9f suitable for dark mode interfaces?
Use #004f9f carefully in dark mode because its high saturation can feel heavy against black or dark backgrounds. It is much more effective as a bright, primary accent button or link color rather than as a large background fill that might strain the eyes.
Is #004f9f readable on white or black?
#004f9f has a 8.01:1 contrast ratio on white and 2.61: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.