Color #302e4e
A muted dark blue.
Conversions
#302e4e
rgb(48, 46, 78)
hsl(243.8, 25.8%, 24.3%)
hsv(243.8, 41%, 30.6%)
cmyk(38.5%, 41%, 0%, 69.4%)
lab(20.57, 9.85, -19.38)
lch(20.57, 21.74, 296.94)
oklch(31.9%, 0.0564, 285.54)
hwb(243.8, 18%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (12.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f48 · ΔE 2.8
Deuteranopia
#2f2f46 · ΔE 3.6
Tritanopia
#304241 · ΔE 21.1
Achromatopsia
#323232 · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302e4e;
bg-[#302e4e]
Related colors
Frequently asked questions
#302e4e (#302e4e) is rgb(48, 46, 78) in RGB.
No, #302e4e 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 #302e4e, or check how it holds up for accessibility.