Color #313a36
A nearly neutral, gray-leaning dark green.
Conversions
#313a36
rgb(49, 58, 54)
hsl(153.3, 8.4%, 21%)
hsv(153.3, 15.5%, 22.7%)
cmyk(15.5%, 0%, 6.9%, 77.3%)
lab(23.49, -4.74, 1.22)
lch(23.49, 4.89, 165.57)
oklch(33.9%, 0.014, 166.76)
hwb(153.3, 19.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (11.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353537 · ΔE 7.2
Deuteranopia
#353437 · ΔE 8.3
Tritanopia
#313838 · ΔE 3
Achromatopsia
#383838 · ΔE 6.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313a36;
bg-[#313a36]
Related colors
Frequently asked questions
#313a36 (#313a36) is rgb(49, 58, 54) in RGB.
No, #313a36 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 #313a36, or check how it holds up for accessibility.