Color #31323a
A nearly neutral, gray-leaning dark blue.
Conversions
#31323a
rgb(49, 50, 58)
hsl(233.3, 8.4%, 21%)
hsv(233.3, 15.5%, 22.7%)
cmyk(15.5%, 13.8%, 0%, 77.3%)
lab(20.98, 1.57, -5.19)
lch(20.98, 5.42, 286.83)
oklch(31.9%, 0.0142, 279.73)
hwb(233.3, 19.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (12.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313138 · ΔE 0.8
Deuteranopia
#313138 · ΔE 0.8
Tritanopia
#313736 · ΔE 7.4
Achromatopsia
#323232 · ΔE 5.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31323a;
bg-[#31323a]
Related colors
Frequently asked questions
#31323a (#31323a) is rgb(49, 50, 58) in RGB.
No, #31323a 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 #31323a, or check how it holds up for accessibility.