Color #2e2840
A muted dark blue.
Conversions
#2e2840
rgb(46, 40, 64)
hsl(255, 23.1%, 20.4%)
hsv(255, 37.5%, 25.1%)
cmyk(28.1%, 37.5%, 0%, 74.9%)
lab(17.78, 9.03, -14.23)
lch(17.78, 16.85, 302.4)
oklch(29.5%, 0.0435, 295.03)
hwb(255, 15.7%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (14.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2b3b · ΔE 4.6
Deuteranopia
#2c2c3a · ΔE 5.9
Tritanopia
#2e3736 · ΔE 17.6
Achromatopsia
#2c2c2c · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2e2840;
bg-[#2e2840]
Related colors
Frequently asked questions
#2e2840 (#2e2840) is rgb(46, 40, 64) in RGB.
No, #2e2840 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 #2e2840, or check how it holds up for accessibility.