#4040FF Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#4040ff is a highly saturated, cool indigo with a bright blue-violet cast. Its strong chroma creates energy and immediate attention, making it effective for calls to action, spiritual branding, and creative work. Use it as a focused accent with charcoal, warm ivory, or deep burgundy rather than across an entire interface. White text reaches about 6.2:1 contrast. The hex code is #4040ff.
Questions about #4040ff
What is #4040ff in RGB, HSL and CMYK?
In RGB, #4040ff is rgb(64, 64, 255), in HSL hsl(240, 100%, 63%) and in CMYK 75%, 75%, 0%, 0%.
What colors pair well with #4040ff?
Is #4040ff readable on white or black?
#4040ff has a 6.18:1 contrast ratio on white and 3.39: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.