Color #3a2c72
A moderately saturated dark blue.
Conversions
#3a2c72
rgb(58, 44, 114)
hsl(252, 44.3%, 31%)
hsv(252, 61.4%, 44.7%)
cmyk(49.1%, 61.4%, 0%, 55.3%)
lab(23.39, 25.72, -38.44)
lch(23.39, 46.25, 303.79)
oklch(35%, 0.1156, 288.15)
hwb(252, 17.3%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (11.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343466 · ΔE 5
Deuteranopia
#353663 · ΔE 6.2
Tritanopia
#395c59 · ΔE 28.3
Achromatopsia
#383838 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2c72;
bg-[#3a2c72]
Related colors
Frequently asked questions
#3a2c72 (#3a2c72) is rgb(58, 44, 114) in RGB.
No, #3a2c72 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 #3a2c72, or check how it holds up for accessibility.