Color #31393b
A nearly neutral, gray-leaning dark cyan.
Conversions
#31393b
rgb(49, 57, 59)
hsl(192, 9.3%, 21.2%)
hsv(192, 16.9%, 23.1%)
cmyk(16.9%, 3.4%, 0%, 76.9%)
lab(23.32, -2.84, -2.38)
lch(23.32, 3.71, 219.96)
oklch(33.8%, 0.0114, 214.25)
hwb(192, 19.2%, 76.9%)
Harmony colors
Accessibility
White text reads better on this background (11.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#35353b · ΔE 6.1
Deuteranopia
#34343a · ΔE 6.1
Tritanopia
#313a3a · ΔE 1.6
Achromatopsia
#383838 · ΔE 4.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31393b;
bg-[#31393b]
Related colors
Frequently asked questions
#31393b (#31393b) is rgb(49, 57, 59) in RGB.
No, #31393b 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 #31393b, or check how it holds up for accessibility.