#240DFC Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#240dfc is an electric, highly saturated blue that commands immediate attention. The hex code #240dfc works best as a sharp accent or a primary call-to-action rather than a background, where its intensity can overwhelm. It provides strong contrast for white text, making it a solid choice for accessible UI components. Pair it with soft, muted grays to balance its aggressive character.
Questions about #240dfc
What is #240dfc in RGB, HSL and CMYK?
In RGB, #240dfc is rgb(36, 13, 252), in HSL hsl(246, 98%, 52%) and in CMYK 86%, 95%, 0%, 1%.
How can I balance the intensity of #240dfc in a UI design?
#240dfc works best as a focal point, so avoid using it for large backgrounds where its high saturation can overwhelm the viewer. Balance this energetic blue by pairing it with neutral, desaturated tones like charcoal or soft silver grays.
Is #240dfc suitable for text against a white background?
Yes, #240dfc provides strong, readable contrast against white, making it an excellent choice for headers or primary interface elements. However, avoid using it for fine print or thin body text, as the high intensity can cause visual vibration on screens.
Is #240dfc readable on white or black?
#240dfc has a 8.27:1 contrast ratio on white and 2.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 is too faint for text. Try other pairs in the contrast checker.