Color #2e2552
A muted dark blue.
Conversions
#2e2552
rgb(46, 37, 82)
hsl(252, 37.8%, 23.3%)
hsv(252, 54.9%, 32.2%)
cmyk(43.9%, 54.9%, 0%, 67.8%)
lab(17.98, 16.84, -26.19)
lch(17.98, 31.14, 302.74)
oklch(30%, 0.079, 290)
hwb(252, 14.5%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (13.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a4a · ΔE 4.6
Deuteranopia
#2b2c48 · ΔE 6.2
Tritanopia
#2e4341 · ΔE 24.6
Achromatopsia
#2c2c2c · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e2552;
bg-[#2e2552]
Related colors
Frequently asked questions
#2e2552 (#2e2552) is rgb(46, 37, 82) in RGB.
No, #2e2552 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 #2e2552, or check how it holds up for accessibility.