Color #313938
A nearly neutral, gray-leaning dark cyan.
Conversions
#313938
rgb(49, 57, 56)
hsl(172.5, 7.5%, 20.8%)
hsv(172.5, 14%, 22.4%)
cmyk(14%, 0%, 1.8%, 77.6%)
lab(23.22, -3.6, -0.52)
lch(23.22, 3.64, 188.22)
oklch(33.7%, 0.0109, 187.39)
hwb(172.5, 19.2%, 77.6%)
Harmony colors
Accessibility
White text reads better on this background (11.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#353538 · ΔE 6
Deuteranopia
#343438 · ΔE 6.5
Tritanopia
#313838 · ΔE 1
Achromatopsia
#373737 · ΔE 4.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313938;
bg-[#313938]
Related colors
Frequently asked questions
#313938 (#313938) is rgb(49, 57, 56) in RGB.
No, #313938 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 #313938, or check how it holds up for accessibility.