Color #2e204f
A moderately saturated dark blue.
Conversions
#2e204f
rgb(46, 32, 79)
hsl(257.9, 42.3%, 21.8%)
hsv(257.9, 59.5%, 31%)
cmyk(41.8%, 59.5%, 0%, 69%)
lab(16.4, 19.32, -26.69)
lch(16.4, 32.95, 305.9)
oklch(28.7%, 0.0831, 294.31)
hwb(257.9, 12.5%, 69%)
Harmony colors
Accessibility
White text reads better on this background (14.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#292847 · ΔE 5.9
Deuteranopia
#292a45 · ΔE 7.6
Tritanopia
#2d403e · ΔE 24.7
Achromatopsia
#292929 · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e204f;
bg-[#2e204f]
Related colors
Frequently asked questions
#2e204f (#2e204f) is rgb(46, 32, 79) in RGB.
No, #2e204f 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 #2e204f, or check how it holds up for accessibility.