Color #5f5e8c
A muted medium blue.
Conversions
#5f5e8c
rgb(95, 94, 140)
hsl(241.3, 19.7%, 45.9%)
hsv(241.3, 32.9%, 54.9%)
cmyk(32.1%, 32.9%, 0%, 45.1%)
lab(41.74, 11.71, -25.29)
lch(41.74, 27.87, 294.85)
oklch(50.2%, 0.0726, 284.44)
hwb(241.3, 36.9%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (6.06:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5f5f83 · ΔE 2.8
Deuteranopia
#5f5f80 · ΔE 3.7
Tritanopia
#5f7b79 · ΔE 24.3
Achromatopsia
#626262 · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f5e8c;
bg-[#5f5e8c]
Related colors
Frequently asked questions
#5f5e8c (#5f5e8c) is rgb(95, 94, 140) in RGB.
No, #5f5e8c 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 #5f5e8c, or check how it holds up for accessibility.