Color #305b72
A moderately saturated dark blue.
Conversions
#305b72
rgb(48, 91, 114)
hsl(200.9, 40.7%, 31.8%)
hsv(200.9, 57.9%, 44.7%)
cmyk(57.9%, 20.2%, 0%, 55.3%)
lab(36.6, -7.65, -17.62)
lch(36.6, 19.21, 246.53)
oklch(45%, 0.0609, 233.75)
hwb(200.9, 18.8%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (7.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#46476d · ΔE 16.5
Deuteranopia
#44416c · ΔE 17.7
Tritanopia
#336968 · ΔE 13.3
Achromatopsia
#565656 · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #305b72;
bg-[#305b72]
Related colors
Frequently asked questions
#305b72 (#305b72) is rgb(48, 91, 114) in RGB.
No, #305b72 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 #305b72, or check how it holds up for accessibility.