Color #313f5d
A muted dark blue.
Conversions
#313f5d
rgb(49, 63, 93)
hsl(220.9, 31%, 27.8%)
hsv(220.9, 47.3%, 36.5%)
cmyk(47.3%, 32.3%, 0%, 63.5%)
lab(26.73, 3.41, -19.63)
lch(26.73, 19.92, 279.85)
oklch(36.9%, 0.0551, 264.69)
hwb(220.9, 19.2%, 63.5%)
Harmony colors
Accessibility
White text reads better on this background (10.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383857 · ΔE 5.7
Deuteranopia
#373655 · ΔE 6.3
Tritanopia
#325250 · ΔE 19.6
Achromatopsia
#3f3f3f · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313f5d;
bg-[#313f5d]
Related colors
Frequently asked questions
#313f5d (#313f5d) is rgb(49, 63, 93) in RGB.
No, #313f5d 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 #313f5d, or check how it holds up for accessibility.