Color #5f6787
A muted medium blue.
Conversions
#5f6787
rgb(95, 103, 135)
hsl(228, 17.4%, 45.1%)
hsv(228, 29.6%, 52.9%)
cmyk(29.6%, 23.7%, 0%, 47.1%)
lab(44.06, 4.8, -18.68)
lch(44.06, 19.29, 284.41)
oklch(51.9%, 0.0516, 273.56)
hwb(228, 37.3%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (5.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#636380 · ΔE 3.4
Deuteranopia
#62617e · ΔE 4.1
Tritanopia
#5f7a79 · ΔE 19.3
Achromatopsia
#686868 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6787;
bg-[#5f6787]
Related colors
Frequently asked questions
#5f6787 (#5f6787) is rgb(95, 103, 135) in RGB.
No, #5f6787 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 #5f6787, or check how it holds up for accessibility.