Color #5f6487
A muted medium blue.
Conversions
#5f6487
rgb(95, 100, 135)
hsl(232.5, 17.4%, 45.1%)
hsv(232.5, 29.6%, 52.9%)
cmyk(29.6%, 25.9%, 0%, 47.1%)
lab(43.21, 6.63, -20)
lch(43.21, 21.07, 288.34)
oklch(51.3%, 0.0557, 277.94)
hwb(232.5, 37.3%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (5.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#616180 · ΔE 2.4
Deuteranopia
#61617e · ΔE 2.8
Tritanopia
#5f7978 · ΔE 20.6
Achromatopsia
#666666 · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6487;
bg-[#5f6487]
Related colors
Frequently asked questions
#5f6487 (#5f6487) is rgb(95, 100, 135) in RGB.
No, #5f6487 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 #5f6487, or check how it holds up for accessibility.