Color #02004f
A vivid, highly saturated very dark blue.
Conversions
#02004f
rgb(2, 0, 79)
hsl(241.5, 100%, 15.5%)
hsv(241.5, 100%, 31%)
cmyk(97.5%, 100%, 0%, 69%)
lab(5.21, 32.16, -45.16)
lch(5.21, 55.44, 305.46)
oklch(19.5%, 0.1328, 265.72)
hwb(241.5, 0%, 69%)
Harmony colors
Accessibility
White text reads better on this background (18.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#010145 · ΔE 2.4
Deuteranopia
#010142 · ΔE 3.2
Tritanopia
#023b39 · ΔE 30.6
Achromatopsia
#111111 · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #02004f;
bg-[#02004f]
Related colors
Frequently asked questions
#02004f (#02004f) is rgb(2, 0, 79) in RGB.
No, #02004f is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #02004f, or check how it holds up for accessibility.