Color #00309d
A vivid, highly saturated dark blue.
Conversions
#00309d
rgb(0, 48, 157)
hsl(221.7, 100%, 30.8%)
hsv(221.7, 100%, 61.6%)
cmyk(100%, 69.4%, 0%, 38.4%)
lab(25.4, 32.51, -62.13)
lch(25.4, 70.12, 297.62)
oklch(36.9%, 0.1817, 262.76)
hwb(221.7, 0%, 38.4%)
Harmony colors
Accessibility
White text reads better on this background (11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1e1e8c · ΔE 5.7
Deuteranopia
#1b1888 · ΔE 7
Tritanopia
#057d79 · ΔE 38.5
Achromatopsia
#3c3c3c · ΔE 27.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #00309d;
bg-[#00309d]
Related colors
Frequently asked questions
#00309d (#00309d) is rgb(0, 48, 157) in RGB.
No, #00309d 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 #00309d, or check how it holds up for accessibility.