#5261E5 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #5261e5 graphic
This saturated, electric blue commands attention with its intense, high-energy presence. Because it is so bright, #5261e5 functions best as a bold accent or a call to action button rather than a large background. It pairs well with soft greys to ground its brilliance. The hex code for this cool, vivid indigo is #5261e5, which offers enough contrast to support crisp white text.

Questions about #5261e5

What is #5261e5 in RGB, HSL and CMYK?
In RGB, #5261e5 is rgb(82, 97, 229), in HSL hsl(234, 74%, 61%) and in CMYK 64%, 58%, 0%, 10%.
How should #5261e5 be used in UI design?
Use #5261e5 primarily as a bold accent or primary call to action button to drive clicks without overwhelming the screen. It creates a striking focal point against neutral backgrounds like charcoal or soft white, ensuring your interfaces feel modern and high-energy.
Is #5261e5 readable on white or black?
#5261e5 has a 4.99:1 contrast ratio on white and 4.20:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.