Color #332b80
A moderately saturated dark blue.
Conversions
#332b80
rgb(51, 43, 128)
hsl(245.6, 49.7%, 33.5%)
hsv(245.6, 66.4%, 50.2%)
cmyk(60.2%, 66.4%, 0%, 49.8%)
lab(23.64, 29.6, -46.97)
lch(23.64, 55.52, 302.22)
oklch(35.4%, 0.1376, 280.98)
hwb(245.6, 16.9%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (11.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#303072 · ΔE 3.6
Deuteranopia
#30316f · ΔE 4.4
Tritanopia
#336663 · ΔE 31.5
Achromatopsia
#383838 · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #332b80;
bg-[#332b80]
Related colors
Frequently asked questions
#332b80 (#332b80) is rgb(51, 43, 128) in RGB.
No, #332b80 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 #332b80, or check how it holds up for accessibility.