Color #31637e
A moderately saturated dark blue.
Conversions
#31637e
rgb(49, 99, 126)
hsl(201, 44%, 34.3%)
hsv(201, 61.1%, 49.4%)
cmyk(61.1%, 21.4%, 0%, 50.6%)
lab(39.72, -8.18, -20.17)
lch(39.72, 21.77, 247.92)
oklch(47.7%, 0.0693, 234.45)
hwb(201, 19.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (6.53:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4c78 · ΔE 16.9
Deuteranopia
#494577 · ΔE 17.9
Tritanopia
#357372 · ΔE 14.5
Achromatopsia
#5e5e5e · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31637e;
bg-[#31637e]
Related colors
Frequently asked questions
#31637e (#31637e) is rgb(49, 99, 126) in RGB.
No, #31637e 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 #31637e, or check how it holds up for accessibility.