Color #5c5ccc
A moderately saturated medium blue.
Conversions
#5c5ccc
rgb(92, 92, 204)
hsl(240, 52.3%, 58%)
hsv(240, 54.9%, 80%)
cmyk(54.9%, 54.9%, 0%, 20%)
lab(44.64, 31.66, -58.37)
lch(44.64, 66.4, 298.48)
oklch(53.5%, 0.1692, 279.04)
hwb(240, 36.1%, 20%)
Harmony colors
Accessibility
White text reads better on this background (5.44:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5cb9 · ΔE 2.9
Deuteranopia
#5c5cb4 · ΔE 3.7
Tritanopia
#5ca7a3 · ΔE 36.8
Achromatopsia
#6a6a6a · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5c5ccc;
bg-[#5c5ccc]
Related colors
Frequently asked questions
#5c5ccc (#5c5ccc) is rgb(92, 92, 204) in RGB.
No, #5c5ccc 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 #5c5ccc, or check how it holds up for accessibility.