Color #313d65
A muted dark blue.
Conversions
#313d65
rgb(49, 61, 101)
hsl(226.2, 34.7%, 29.4%)
hsv(226.2, 51.5%, 39.6%)
cmyk(51.5%, 39.6%, 0%, 60.4%)
lab(26.53, 7.49, -25.1)
lch(26.53, 26.19, 286.62)
oklch(36.9%, 0.0708, 270)
hwb(226.2, 19.2%, 60.4%)
Harmony colors
Accessibility
White text reads better on this background (10.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#37375d · ΔE 4.1
Deuteranopia
#36355b · ΔE 4.6
Tritanopia
#325655 · ΔE 22.7
Achromatopsia
#3f3f3f · ΔE 16.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313d65;
bg-[#313d65]
Related colors
Frequently asked questions
#313d65 (#313d65) is rgb(49, 61, 101) in RGB.
No, #313d65 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 #313d65, or check how it holds up for accessibility.