Color #5b28ff
A vivid, highly saturated medium blue.
Conversions
#5b28ff
rgb(91, 40, 255)
hsl(254.2, 100%, 57.8%)
hsv(254.2, 84.3%, 100%)
cmyk(64.3%, 84.3%, 0%, 0%)
lab(39.51, 72.83, -95.72)
lch(39.51, 120.28, 307.27)
oklch(51.2%, 0.2811, 280.74)
hwb(254.2, 15.7%, 0%)
Harmony colors
Accessibility
White text reads better on this background (6.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4a4ae2 · ΔE 6.9
Deuteranopia
#4d50db · ΔE 8.5
Tritanopia
#59c8c1 · ΔE 50.8
Achromatopsia
#5d5d5d · ΔE 32.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b28ff;
bg-[#5b28ff]
Related colors
Frequently asked questions
#5b28ff (#5b28ff) is rgb(91, 40, 255) in RGB.
No, #5b28ff 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 #5b28ff, or check how it holds up for accessibility.