Color #31374b
A muted dark blue.
Conversions
#31374b
rgb(49, 55, 75)
hsl(226.2, 21%, 24.3%)
hsv(226.2, 34.7%, 29.4%)
cmyk(34.7%, 26.7%, 0%, 70.6%)
lab(23.32, 3.03, -13.1)
lch(23.32, 13.45, 283.02)
oklch(34%, 0.0362, 271.42)
hwb(226.2, 19.2%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (11.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343447 · ΔE 3
Deuteranopia
#333346 · ΔE 3.1
Tritanopia
#314342 · ΔE 15
Achromatopsia
#383838 · ΔE 10.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31374b;
bg-[#31374b]
Related colors
Frequently asked questions
#31374b (#31374b) is rgb(49, 55, 75) in RGB.
No, #31374b 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 #31374b, or check how it holds up for accessibility.