Color #302d47
A muted dark blue.
Conversions
#302d47
rgb(48, 45, 71)
hsl(246.9, 22.4%, 22.7%)
hsv(246.9, 36.6%, 27.8%)
cmyk(32.4%, 36.6%, 0%, 72.2%)
lab(19.88, 8.35, -15.72)
lch(19.88, 17.8, 297.98)
oklch(31.3%, 0.0461, 288.71)
hwb(246.9, 17.6%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (13.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f42 · ΔE 3.5
Deuteranopia
#2f2f40 · ΔE 4.4
Tritanopia
#303d3c · ΔE 18.5
Achromatopsia
#303030 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302d47;
bg-[#302d47]
Related colors
Frequently asked questions
#302d47 (#302d47) is rgb(48, 45, 71) in RGB.
No, #302d47 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 #302d47, or check how it holds up for accessibility.