Color #302a48
A muted dark blue.
Conversions
#302a48
rgb(48, 42, 72)
hsl(252, 26.3%, 22.4%)
hsv(252, 41.7%, 28.2%)
cmyk(33.3%, 41.7%, 0%, 71.8%)
lab(19.02, 10.77, -17.75)
lch(19.02, 20.76, 301.25)
oklch(30.6%, 0.0534, 292.1)
hwb(252, 16.5%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (13.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2d42 · ΔE 4.4
Deuteranopia
#2e2e41 · ΔE 5.5
Tritanopia
#303d3c · ΔE 20.3
Achromatopsia
#2e2e2e · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302a48;
bg-[#302a48]
Related colors
Frequently asked questions
#302a48 (#302a48) is rgb(48, 42, 72) in RGB.
No, #302a48 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 #302a48, or check how it holds up for accessibility.