Color #304378
A moderately saturated dark blue.
Conversions
#304378
rgb(48, 67, 120)
hsl(224.2, 42.9%, 32.9%)
hsv(224.2, 60%, 47.1%)
cmyk(60%, 44.2%, 0%, 52.9%)
lab(29.41, 9.95, -32.63)
lch(29.41, 34.11, 286.96)
oklch(39.5%, 0.0929, 267.22)
hwb(224.2, 18.8%, 52.9%)
Harmony colors
Accessibility
White text reads better on this background (9.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#39396e · ΔE 5.3
Deuteranopia
#38366b · ΔE 6.2
Tritanopia
#316563 · ΔE 25.6
Achromatopsia
#454545 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304378;
bg-[#304378]
Related colors
Frequently asked questions
#304378 (#304378) is rgb(48, 67, 120) in RGB.
No, #304378 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 #304378, or check how it holds up for accessibility.