Color #313f48
A muted dark blue.
Conversions
#313f48
rgb(49, 63, 72)
hsl(203.5, 19%, 23.7%)
hsv(203.5, 31.9%, 28.2%)
cmyk(31.9%, 12.5%, 0%, 71.8%)
lab(25.79, -3.17, -7.34)
lch(25.79, 8, 246.64)
oklch(35.9%, 0.0241, 236.51)
hwb(203.5, 19.2%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (10.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383846 · ΔE 9.1
Deuteranopia
#373645 · ΔE 10.1
Tritanopia
#324444 · ΔE 6.5
Achromatopsia
#3d3d3d · ΔE 7.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313f48;
bg-[#313f48]
Related colors
Frequently asked questions
#313f48 (#313f48) is rgb(49, 63, 72) in RGB.
No, #313f48 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 #313f48, or check how it holds up for accessibility.