Color #313f65
A muted dark blue.
Conversions
#313f65
rgb(49, 63, 101)
hsl(223.8, 34.7%, 29.4%)
hsv(223.8, 51.5%, 39.6%)
cmyk(51.5%, 37.6%, 0%, 60.4%)
lab(27.15, 6.13, -24.13)
lch(27.15, 24.9, 284.25)
oklch(37.4%, 0.0681, 267.73)
hwb(223.8, 19.2%, 60.4%)
Harmony colors
Accessibility
White text reads better on this background (10.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38385d · ΔE 4.8
Deuteranopia
#37365c · ΔE 5.3
Tritanopia
#325755 · ΔE 22.4
Achromatopsia
#404040 · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313f65;
bg-[#313f65]
Related colors
Frequently asked questions
#313f65 (#313f65) is rgb(49, 63, 101) in RGB.
No, #313f65 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 #313f65, or check how it holds up for accessibility.