Color #5f6caa
A muted medium blue.
Conversions
#5f6caa
rgb(95, 108, 170)
hsl(229.6, 30.6%, 52%)
hsv(229.6, 44.1%, 66.7%)
cmyk(44.1%, 36.5%, 0%, 33.3%)
lab(47.05, 11.78, -34.78)
lch(47.05, 36.72, 288.71)
oklch(54.8%, 0.098, 273.74)
hwb(229.6, 37.3%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (4.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#65659e · ΔE 4.3
Deuteranopia
#64639b · ΔE 5
Tritanopia
#609391 · ΔE 26.7
Achromatopsia
#707070 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f6caa;
bg-[#5f6caa]
Related colors
Frequently asked questions
#5f6caa (#5f6caa) is rgb(95, 108, 170) in RGB.
No, #5f6caa 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 #5f6caa, or check how it holds up for accessibility.