Color #332b47
A muted dark blue.
Conversions
#332b47
rgb(51, 43, 71)
hsl(257.1, 24.6%, 22.4%)
hsv(257.1, 39.4%, 27.8%)
cmyk(28.2%, 39.4%, 0%, 72.2%)
lab(19.58, 10.82, -16.17)
lch(19.58, 19.46, 303.79)
oklch(31.1%, 0.0502, 296.51)
hwb(257.1, 16.9%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (13.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303041 · ΔE 6.3
Deuteranopia
#303140 · ΔE 7.5
Tritanopia
#333d3c · ΔE 19.2
Achromatopsia
#2f2f2f · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #332b47;
bg-[#332b47]
Related colors
Frequently asked questions
#332b47 (#332b47) is rgb(51, 43, 71) in RGB.
No, #332b47 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 #332b47, or check how it holds up for accessibility.