#0400FF Hex Color

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

Hex color #0400ff graphic
#0400ff is a high-intensity, electric blue that commands immediate attention. This hex code is extremely saturated, making it a poor choice for full backgrounds but excellent for high-impact accents or call-to-action buttons. It pairs perfectly with white text, which offers an 8.6:1 contrast ratio for maximum readability. Use this intense shade sparingly in your designs to avoid visual fatigue.

Questions about #0400ff

What is #0400ff in RGB, HSL and CMYK?
In RGB, #0400ff is rgb(4, 0, 255), in HSL hsl(241, 100%, 50%) and in CMYK 98%, 100%, 0%, 0%.
How should I incorporate #0400ff into my design?
Apply #0400ff sparingly as a high-impact accent color rather than a primary background to avoid visual fatigue. This saturated shade works best when balanced against neutral grays or off-white tones to successfully ground its electric intensity.
Is #0400ff readable on white or black?
#0400ff has a 8.57:1 contrast ratio on white and 2.44: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 is too faint for text. Try other pairs in the contrast checker.