Color #2e1e85
A moderately saturated dark blue.
Conversions
#2e1e85
rgb(46, 30, 133)
hsl(249.3, 63.2%, 32%)
hsv(249.3, 77.4%, 52.2%)
cmyk(65.4%, 77.4%, 0%, 47.8%)
lab(20.84, 38.33, -54.72)
lch(20.84, 66.81, 305.01)
oklch(33.4%, 0.1605, 280.3)
hwb(249.3, 11.8%, 47.8%)
Harmony colors
Accessibility
White text reads better on this background (12.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282876 · ΔE 4.4
Deuteranopia
#292a72 · ΔE 5.5
Tritanopia
#2d6865 · ΔE 34.3
Achromatopsia
#323232 · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e1e85;
bg-[#2e1e85]
Related colors
Frequently asked questions
#2e1e85 (#2e1e85) is rgb(46, 30, 133) in RGB.
No, #2e1e85 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 #2e1e85, or check how it holds up for accessibility.