Color #313b36
A nearly neutral, gray-leaning dark green.
Conversions
#313b36
rgb(49, 59, 54)
hsl(150, 9.3%, 21.2%)
hsv(150, 16.9%, 23.1%)
cmyk(16.9%, 0%, 8.5%, 76.9%)
lab(23.83, -5.38, 1.71)
lch(23.83, 5.65, 162.37)
oklch(34.1%, 0.0159, 163.96)
hwb(150, 19.2%, 76.9%)
Harmony colors
Accessibility
White text reads better on this background (11.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363637 · ΔE 7.5
Deuteranopia
#353438 · ΔE 9.5
Tritanopia
#323838 · ΔE 4.1
Achromatopsia
#393939 · ΔE 7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313b36;
bg-[#313b36]
Related colors
Frequently asked questions
#313b36 (#313b36) is rgb(49, 59, 54) in RGB.
No, #313b36 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 #313b36, or check how it holds up for accessibility.