Color #313b39
A nearly neutral, gray-leaning dark green.
Conversions
#313b39
rgb(49, 59, 57)
hsl(168, 9.3%, 21.2%)
hsv(168, 16.9%, 23.1%)
cmyk(16.9%, 0%, 3.4%, 76.9%)
lab(23.92, -4.65, -0.16)
lch(23.92, 4.65, 181.97)
oklch(34.2%, 0.0138, 182.08)
hwb(168, 19.2%, 76.9%)
Harmony colors
Accessibility
White text reads better on this background (11.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363639 · ΔE 7.3
Deuteranopia
#35343a · ΔE 9.2
Tritanopia
#323a3a · ΔE 1.8
Achromatopsia
#393939 · ΔE 6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313b39;
bg-[#313b39]
Related colors
Frequently asked questions
#313b39 (#313b39) is rgb(49, 59, 57) in RGB.
No, #313b39 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 #313b39, or check how it holds up for accessibility.