#5261D8 Hex Color

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

Hex color #5261d8 graphic
This vivid indigo is saturated and carries a strong, energetic presence. Because it maintains high contrast against white, use #5261d8 for critical UI elements like call to action buttons or bold accents. It pairs effectively with muted grays to ground its intensity. The hex code for this electric shade is #5261d8. It works best as a sharp pop of color rather than a primary background.

Questions about #5261d8

What is #5261d8 in RGB, HSL and CMYK?
In RGB, #5261d8 is rgb(82, 97, 216), in HSL hsl(233, 63%, 58%) and in CMYK 62%, 55%, 0%, 15%.
Where should I use #5261d8 in my user interface design?
Apply #5261d8 as a sharp pop of color for call to action buttons or meaningful data visualizations that need to stand out. Because it is highly saturated, avoid using it as a large background filler to prevent eye fatigue.
What colors pair well with the vivid #5261d8?
Pair #5261d8 with muted neutrals like charcoal or soft whites to ground its intense energy. For a more sophisticated palette, try blending it with cool slate grays, which balance the inherent brightness without competing for dominance.
Is #5261d8 readable on white or black?
#5261d8 has a 5.17:1 contrast ratio on white and 4.06: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.