Color #002a82
A vivid, highly saturated dark blue.
Conversions
#002a82
rgb(0, 42, 130)
hsl(220.6, 100%, 25.5%)
hsv(220.6, 100%, 51%)
cmyk(100%, 67.7%, 0%, 49%)
lab(21.08, 25.69, -52.51)
lch(21.08, 58.46, 296.07)
oklch(32.9%, 0.1539, 262.12)
hwb(220.6, 0%, 49%)
Harmony colors
Accessibility
White text reads better on this background (12.7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a74 · ΔE 5.6
Deuteranopia
#171470 · ΔE 7
Tritanopia
#046764 · ΔE 34.1
Achromatopsia
#333333 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #002a82;
bg-[#002a82]
Related colors
Frequently asked questions
#002a82 (#002a82) is rgb(0, 42, 130) in RGB.
No, #002a82 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 #002a82, or check how it holds up for accessibility.