Color #302c3c
A muted dark blue.
Conversions
#302c3c
rgb(48, 44, 60)
hsl(255, 15.4%, 20.4%)
hsv(255, 26.7%, 23.5%)
cmyk(20%, 26.7%, 0%, 76.5%)
lab(19.04, 5.84, -9.5)
lch(19.04, 11.15, 301.58)
oklch(30.4%, 0.0289, 296.03)
hwb(255, 17.3%, 76.5%)
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
#2e2e39 · ΔE 3.7
Deuteranopia
#2f2f38 · ΔE 4.7
Tritanopia
#303635 · ΔE 13
Achromatopsia
#2e2e2e · ΔE 10
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302c3c;
bg-[#302c3c]
Related colors
Frequently asked questions
#302c3c (#302c3c) is rgb(48, 44, 60) in RGB.
No, #302c3c 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 #302c3c, or check how it holds up for accessibility.