Color #5f6ca7
A muted medium blue.
Conversions
#5f6ca7
rgb(95, 108, 167)
hsl(229.2, 29%, 51.4%)
hsv(229.2, 43.1%, 65.5%)
cmyk(43.1%, 35.3%, 0%, 34.5%)
lab(46.91, 10.87, -33.25)
lch(46.91, 34.98, 288.1)
oklch(54.6%, 0.0936, 273.49)
hwb(229.2, 37.3%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (5.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#65659b · ΔE 4.4
Deuteranopia
#646398 · ΔE 5.1
Tritanopia
#60918f · ΔE 26.2
Achromatopsia
#6f6f6f · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6ca7;
bg-[#5f6ca7]
Related colors
Frequently asked questions
#5f6ca7 (#5f6ca7) is rgb(95, 108, 167) in RGB.
No, #5f6ca7 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 #5f6ca7, or check how it holds up for accessibility.