#2A5EC8 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#2a5ec8 is a saturated, vivid blue that demands attention without feeling aggressive. Because of its intensity, it functions best as a 10% accent color for buttons or key UI highlights rather than a large background. It pairs well with crisp white text to ensure readability, though you can compare it against other shades of blue to find a balance for your specific brand palette.
Questions about #2a5ec8
What is #2a5ec8 in RGB, HSL and CMYK?
In RGB, #2a5ec8 is rgb(42, 94, 200), in HSL hsl(220, 65%, 47%) and in CMYK 79%, 53%, 0%, 22%. Browse more shades of blue with names and hex codes.
How do I best use #2a5ec8 in a website interface?
This vivid blue functions best as an intentional accent rather than a primary background. Apply #2a5ec8 to call-to-action buttons or navigation highlights to draw the user's eye without overwhelming the layout, ensuring it remains balanced against neutral whites or light grays.
What colors complement #2a5ec8 for a balanced palette?
Pair #2a5ec8 with a warm orange to create a high-energy contrast that feels professional yet engaging. Alternatively, using it alongside a soft slate or crisp white keeps the design clean and ensures the blue remains the focal point.
Is #2a5ec8 readable on white or black?
#2a5ec8 has a 5.94:1 contrast ratio on white and 3.53: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.