Color #5f87c9
A moderately saturated medium blue.
Conversions
#5f87c9
rgb(95, 135, 201)
hsl(217.4, 49.5%, 58%)
hsv(217.4, 52.7%, 78.8%)
cmyk(52.7%, 32.8%, 0%, 21.2%)
lab(56.06, 5.07, -38.45)
lch(56.06, 38.78, 277.51)
oklch(62.3%, 0.11, 260.05)
hwb(217.4, 37.3%, 21.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7273bc · ΔE 10.2
Deuteranopia
#706db8 · ΔE 12
Tritanopia
#61b0ae · ΔE 26
Achromatopsia
#868686 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f87c9;
bg-[#5f87c9]
Related colors
Frequently asked questions
#5f87c9 (#5f87c9) is rgb(95, 135, 201) in RGB.
No, #5f87c9 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 #5f87c9, or check how it holds up for accessibility.