#5A66D8 Hex Color

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

Hex color #5a66d8 graphic
This bold, saturated indigo commands attention without feeling aggressive. The hex code #5a66d8 works best as a primary accent or a button color in UI design, as it feels too loud for full backgrounds. It pairs well with soft, sandy neutrals that ground its intensity. Because it offers a 4.9:1 contrast ratio against white, designers can safely use it for smaller, legible body text.

Questions about #5a66d8

What is #5a66d8 in RGB, HSL and CMYK?
In RGB, #5a66d8 is rgb(90, 102, 216), in HSL hsl(234, 62%, 60%) and in CMYK 58%, 53%, 0%, 15%. Browse more shades of blue with names and hex codes.
How can I use #5a66d8 effectively in UI design?
#5a66d8 works best as a primary accent or call-to-action button color rather than a background filler. It creates a strong focal point when paired with sand or warm neutrals to ground its high-intensity energy and maintain visual balance.
Is #5a66d8 readable on white or black?
#5a66d8 has a 4.85:1 contrast ratio on white and 4.32: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.