Color #302e3c
A nearly neutral, gray-leaning dark blue.
Conversions
#302e3c
rgb(48, 46, 60)
hsl(248.6, 13.2%, 20.8%)
hsv(248.6, 23.3%, 23.5%)
cmyk(20%, 23.3%, 0%, 76.5%)
lab(19.67, 4.45, -8.54)
lch(19.67, 9.63, 297.52)
oklch(30.9%, 0.025, 291.33)
hwb(248.6, 18%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (13.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f39 · ΔE 2.6
Deuteranopia
#2f2f38 · ΔE 3.2
Tritanopia
#303636 · ΔE 11
Achromatopsia
#303030 · ΔE 8.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302e3c;
bg-[#302e3c]
Related colors
Frequently asked questions
#302e3c (#302e3c) is rgb(48, 46, 60) in RGB.
No, #302e3c 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 #302e3c, or check how it holds up for accessibility.