Color #31374d
A muted dark blue.
Conversions
#31374d
rgb(49, 55, 77)
hsl(227.1, 22.2%, 24.7%)
hsv(227.1, 36.4%, 30.2%)
cmyk(36.4%, 28.6%, 0%, 69.8%)
lab(23.41, 3.65, -14.28)
lch(23.41, 14.74, 284.34)
oklch(34.1%, 0.0396, 272.31)
hwb(227.1, 19.2%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (11.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343448 · ΔE 2.8
Deuteranopia
#333347 · ΔE 2.9
Tritanopia
#314444 · ΔE 15.6
Achromatopsia
#383838 · ΔE 11.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31374d;
bg-[#31374d]
Related colors
Frequently asked questions
#31374d (#31374d) is rgb(49, 55, 77) in RGB.
No, #31374d 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 #31374d, or check how it holds up for accessibility.