Color #332a4f
A muted dark blue.
Conversions
#332a4f
rgb(51, 42, 79)
hsl(254.6, 30.6%, 23.7%)
hsv(254.6, 46.8%, 31%)
cmyk(35.4%, 46.8%, 0%, 69%)
lab(19.74, 13.94, -21.34)
lch(19.74, 25.49, 303.15)
oklch(31.4%, 0.0653, 293.46)
hwb(254.6, 16.5%, 69%)
Harmony colors
Accessibility
White text reads better on this background (13.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f48 · ΔE 5.5
Deuteranopia
#303046 · ΔE 6.6
Tritanopia
#334240 · ΔE 22.8
Achromatopsia
#303030 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #332a4f;
bg-[#332a4f]
Related colors
Frequently asked questions
#332a4f (#332a4f) is rgb(51, 42, 79) in RGB.
No, #332a4f 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 #332a4f, or check how it holds up for accessibility.