Color #5791ea
A vivid, highly saturated light blue.
Conversions
#5791ea
rgb(87, 145, 234)
hsl(216.3, 77.8%, 62.9%)
hsv(216.3, 62.8%, 91.8%)
cmyk(62.8%, 38%, 0%, 8.2%)
lab(60.08, 8.29, -50.6)
lch(60.08, 51.27, 279.3)
oklch(65.8%, 0.1466, 258.71)
hwb(216.3, 34.1%, 8.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.64:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7575d9 · ΔE 12.9
Deuteranopia
#716dd4 · ΔE 15.1
Tritanopia
#5bcac6 · ΔE 30.9
Achromatopsia
#919191 · ΔE 23.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5791ea;
bg-[#5791ea]
Related colors
Frequently asked questions
#5791ea (#5791ea) is rgb(87, 145, 234) in RGB.
No, #5791ea 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 #5791ea, or check how it holds up for accessibility.