Color #313a37
A nearly neutral, gray-leaning dark green.
Conversions
#313a37
rgb(49, 58, 55)
hsl(160, 8.4%, 21%)
hsv(160, 15.5%, 22.7%)
cmyk(15.5%, 0%, 5.2%, 77.3%)
lab(23.52, -4.5, 0.6)
lch(23.52, 4.54, 172.41)
oklch(33.9%, 0.0132, 173.47)
hwb(160, 19.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (11.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353538 · ΔE 7.3
Deuteranopia
#353438 · ΔE 8.3
Tritanopia
#313838 · ΔE 2.4
Achromatopsia
#383838 · ΔE 5.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313a37;
bg-[#313a37]
Related colors
Frequently asked questions
#313a37 (#313a37) is rgb(49, 58, 55) in RGB.
No, #313a37 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 #313a37, or check how it holds up for accessibility.