#5040E0 Hex Color

Electric indigo with serious depth

Hex color #5040e0 graphic
#5040e0 is a saturated indigo with a cool blue-violet undertone and medium-dark value. Its intense chroma brings energy and focus to calls to action, highlights, and creative branding. Use it as a small accent against pale neutrals or as a dark UI surface. White text reaches about 6.7:1 contrast here. The hex code is #5040e0.

Questions about #5040e0

What is #5040e0 in RGB, HSL and CMYK?
In RGB, #5040e0 is rgb(80, 64, 224), in HSL hsl(246, 72%, 56%) and in CMYK 64%, 71%, 0%, 12%.
What colors pair well with #5040e0?
#5040e0 pairs well with warm off-white, charcoal, and muted terracotta, which temper its strong blue-violet intensity without making the palette feel flat across layouts for branding, editorial pages, and interface accents. Use warm neutrals for balance and terracotta for stronger emphasis.
Is #5040e0 readable on white or black?
#5040e0 has a 6.66:1 contrast ratio on white and 3.15: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.