Color #313b59
A muted dark blue.
Conversions
#313b59
rgb(49, 59, 89)
hsl(225, 29%, 27.1%)
hsv(225, 44.9%, 34.9%)
cmyk(44.9%, 33.7%, 0%, 65.1%)
lab(25.27, 4.78, -19.31)
lch(25.27, 19.89, 283.9)
oklch(35.7%, 0.054, 269.47)
hwb(225, 19.2%, 65.1%)
Harmony colors
Accessibility
White text reads better on this background (11.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363653 · ΔE 4.1
Deuteranopia
#353451 · ΔE 4.7
Tritanopia
#324e4c · ΔE 20
Achromatopsia
#3c3c3c · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313b59;
bg-[#313b59]
Related colors
Frequently asked questions
#313b59 (#313b59) is rgb(49, 59, 89) in RGB.
No, #313b59 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 #313b59, or check how it holds up for accessibility.