Color #283331
A nearly neutral, gray-leaning very dark green.
Conversions
#283331
rgb(40, 51, 49)
hsl(169.1, 12.1%, 17.8%)
hsv(169.1, 21.6%, 20%)
cmyk(21.6%, 0%, 3.9%, 80%)
lab(20.21, -5.15, -0.27)
lch(20.21, 5.16, 183)
oklch(31%, 0.0153, 182.99)
hwb(169.1, 15.7%, 80%)
Harmony colors
Accessibility
White text reads better on this background (13.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d31 · ΔE 8.3
Deuteranopia
#2c2c32 · ΔE 9.3
Tritanopia
#293232 · ΔE 1.8
Achromatopsia
#313131 · ΔE 6.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #283331;
bg-[#283331]
Related colors
Frequently asked questions
#283331 (#283331) is rgb(40, 51, 49) in RGB.
No, #283331 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 #283331, or check how it holds up for accessibility.