Color #5c42e2
A vivid, highly saturated medium blue.
Conversions
#5c42e2
rgb(92, 66, 226)
hsl(249.7, 73.4%, 57.3%)
hsv(249.7, 70.8%, 88.6%)
cmyk(59.3%, 70.8%, 0%, 11.4%)
lab(40.67, 53.54, -77.44)
lch(40.67, 94.15, 304.66)
oklch(51.2%, 0.2283, 282.14)
hwb(249.7, 25.9%, 11.4%)
Harmony colors
Accessibility
White text reads better on this background (6.3:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5252ca · ΔE 5.5
Deuteranopia
#5355c3 · ΔE 6.8
Tritanopia
#5bb4ae · ΔE 44.8
Achromatopsia
#606060 · ΔE 30.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5c42e2;
bg-[#5c42e2]
Related colors
Frequently asked questions
#5c42e2 (#5c42e2) is rgb(92, 66, 226) in RGB.
No, #5c42e2 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 #5c42e2, or check how it holds up for accessibility.