Color #304c91
A moderately saturated dark blue.
Conversions
#304c91
rgb(48, 76, 145)
hsl(222.7, 50.3%, 37.8%)
hsv(222.7, 66.9%, 56.9%)
cmyk(66.9%, 47.6%, 0%, 43.1%)
lab(33.65, 13.15, -41.32)
lch(33.65, 43.36, 287.65)
oklch(43.3%, 0.1186, 265.21)
hwb(222.7, 18.8%, 43.1%)
Harmony colors
Accessibility
White text reads better on this background (8.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e84 · ΔE 6.7
Deuteranopia
#3c3a81 · ΔE 7.7
Tritanopia
#327977 · ΔE 28.9
Achromatopsia
#4f4f4f · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304c91;
bg-[#304c91]
Related colors
Frequently asked questions
#304c91 (#304c91) is rgb(48, 76, 145) in RGB.
No, #304c91 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 #304c91, or check how it holds up for accessibility.