Color #304377
A moderately saturated dark blue.
Conversions
#304377
rgb(48, 67, 119)
hsl(223.9, 42.5%, 32.7%)
hsv(223.9, 59.7%, 46.7%)
cmyk(59.7%, 43.7%, 0%, 53.3%)
lab(29.35, 9.58, -32.1)
lch(29.35, 33.5, 286.62)
oklch(39.4%, 0.0914, 267.05)
hwb(223.9, 18.8%, 53.3%)
Harmony colors
Accessibility
White text reads better on this background (9.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#39396d · ΔE 5.4
Deuteranopia
#38366b · ΔE 6.2
Tritanopia
#316563 · ΔE 25.5
Achromatopsia
#454545 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304377;
bg-[#304377]
Related colors
Frequently asked questions
#304377 (#304377) is rgb(48, 67, 119) in RGB.
No, #304377 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 #304377, or check how it holds up for accessibility.