Color #2a3531
A nearly neutral, gray-leaning very dark green.
Conversions
#2a3531
rgb(42, 53, 49)
hsl(158.2, 11.6%, 18.6%)
hsv(158.2, 20.8%, 20.8%)
cmyk(20.8%, 0%, 7.5%, 79.2%)
lab(21.06, -5.63, 0.99)
lch(21.06, 5.72, 170.03)
oklch(31.7%, 0.0164, 171.23)
hwb(158.2, 16.5%, 79.2%)
Harmony colors
Accessibility
White text reads better on this background (12.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f32 · ΔE 8.6
Deuteranopia
#2e2e32 · ΔE 9.1
Tritanopia
#2b3333 · ΔE 3.3
Achromatopsia
#333333 · ΔE 7.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a3531;
bg-[#2a3531]
Related colors
Frequently asked questions
#2a3531 (#2a3531) is rgb(42, 53, 49) in RGB.
No, #2a3531 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 #2a3531, or check how it holds up for accessibility.