Color #5e5875
A nearly neutral, gray-leaning medium blue.
Conversions
#5e5875
rgb(94, 88, 117)
hsl(252.4, 14.1%, 40.2%)
hsv(252.4, 24.8%, 45.9%)
cmyk(19.7%, 24.8%, 0%, 54.1%)
lab(38.97, 9.02, -15.56)
lch(38.97, 17.99, 300.1)
oklch(47.7%, 0.0466, 294.04)
hwb(252.4, 34.5%, 54.1%)
Harmony colors
Accessibility
White text reads better on this background (6.71:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5b6f · ΔE 4.6
Deuteranopia
#5c5c6d · ΔE 5.7
Tritanopia
#5e6a68 · ΔE 18.9
Achromatopsia
#5c5c5c · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e5875;
bg-[#5e5875]
Related colors
Frequently asked questions
#5e5875 (#5e5875) is rgb(94, 88, 117) in RGB.
No, #5e5875 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 #5e5875, or check how it holds up for accessibility.