Color #31576a
A muted dark blue.
Conversions
#31576a
rgb(49, 87, 106)
hsl(200, 36.8%, 30.4%)
hsv(200, 53.8%, 41.6%)
cmyk(53.8%, 17.9%, 0%, 58.4%)
lab(35.02, -7.63, -15.08)
lch(35.02, 16.9, 243.16)
oklch(43.7%, 0.0535, 231.52)
hwb(200, 19.2%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (7.77:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#454566 · ΔE 17
Deuteranopia
#423f65 · ΔE 18.2
Tritanopia
#346262 · ΔE 11
Achromatopsia
#525252 · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31576a;
bg-[#31576a]
Related colors
Frequently asked questions
#31576a (#31576a) is rgb(49, 87, 106) in RGB.
No, #31576a 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 #31576a, or check how it holds up for accessibility.