Color #304b5e
A muted dark blue.
Conversions
#304b5e
rgb(48, 75, 94)
hsl(204.8, 32.4%, 27.8%)
hsv(204.8, 48.9%, 36.9%)
cmyk(48.9%, 20.2%, 0%, 63.1%)
lab(30.56, -4.37, -14.34)
lch(30.56, 14.99, 253.05)
oklch(40%, 0.0459, 240.08)
hwb(204.8, 18.8%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (9.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3e5a · ΔE 13.2
Deuteranopia
#3c3a59 · ΔE 14.8
Tritanopia
#325656 · ΔE 11.9
Achromatopsia
#484848 · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #304b5e;
bg-[#304b5e]
Related colors
Frequently asked questions
#304b5e (#304b5e) is rgb(48, 75, 94) in RGB.
No, #304b5e 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 #304b5e, or check how it holds up for accessibility.