Color #313e63
A muted dark blue.
Conversions
#313e63
rgb(49, 62, 99)
hsl(224.4, 33.8%, 29%)
hsv(224.4, 50.5%, 38.8%)
cmyk(50.5%, 37.4%, 0%, 61.2%)
lab(26.73, 6.12, -23.5)
lch(26.73, 24.28, 284.6)
oklch(37.1%, 0.0662, 268.36)
hwb(224.4, 19.2%, 61.2%)
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
#37375c · ΔE 4.6
Deuteranopia
#36355a · ΔE 5.1
Tritanopia
#325554 · ΔE 21.8
Achromatopsia
#3f3f3f · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313e63;
bg-[#313e63]
Related colors
Frequently asked questions
#313e63 (#313e63) is rgb(49, 62, 99) in RGB.
No, #313e63 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 #313e63, or check how it holds up for accessibility.