Color #002ba7
A vivid, highly saturated dark blue.
Conversions
#002ba7
rgb(0, 43, 167)
hsl(224.6, 100%, 32.7%)
hsv(224.6, 100%, 65.5%)
cmyk(100%, 74.3%, 0%, 34.5%)
lab(25.31, 39.55, -68.35)
lch(25.31, 78.97, 300.06)
oklch(37.2%, 0.1997, 263.56)
hwb(224.6, 0%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (11.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1b95 · ΔE 4.7
Deuteranopia
#181590 · ΔE 6
Tritanopia
#048480 · ΔE 41
Achromatopsia
#3c3c3c · ΔE 28.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #002ba7;
bg-[#002ba7]
Related colors
Frequently asked questions
#002ba7 (#002ba7) is rgb(0, 43, 167) in RGB.
No, #002ba7 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 #002ba7, or check how it holds up for accessibility.