Color #002fa5
A vivid, highly saturated dark blue.
Conversions
#002fa5
rgb(0, 47, 165)
hsl(222.9, 100%, 32.4%)
hsv(222.9, 100%, 64.7%)
cmyk(100%, 71.5%, 0%, 35.3%)
lab(26.01, 36.27, -65.99)
lch(26.01, 75.3, 298.79)
oklch(37.6%, 0.193, 263.15)
hwb(222.9, 0%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (10.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d93 · ΔE 5.4
Deuteranopia
#1b178e · ΔE 6.8
Tritanopia
#05837f · ΔE 40.1
Achromatopsia
#3e3e3e · ΔE 28
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #002fa5;
bg-[#002fa5]
Related colors
Frequently asked questions
#002fa5 (#002fa5) is rgb(0, 47, 165) in RGB.
No, #002fa5 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #002fa5, or check how it holds up for accessibility.