Color #5f6ea7
A muted medium blue.
Conversions
#5f6ea7
rgb(95, 110, 167)
hsl(227.5, 29%, 51.4%)
hsv(227.5, 43.1%, 65.5%)
cmyk(43.1%, 34.1%, 0%, 34.5%)
lab(47.46, 9.65, -32.38)
lch(47.46, 33.79, 286.6)
oklch(55.1%, 0.0908, 271.89)
hwb(227.5, 37.3%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (4.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#66669c · ΔE 4.8
Deuteranopia
#656499 · ΔE 5.5
Tritanopia
#609290 · ΔE 25.8
Achromatopsia
#717171 · ΔE 19.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6ea7;
bg-[#5f6ea7]
Related colors
Frequently asked questions
#5f6ea7 (#5f6ea7) is rgb(95, 110, 167) in RGB.
No, #5f6ea7 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 #5f6ea7, or check how it holds up for accessibility.