#2F56EF Hex Color

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

Hex color #2f56ef graphic
A high-intensity, saturated blue, #2f56ef demands attention with its sheer brilliance. Because of its electric nature, it works best as a 10% accent color for calls to action rather than a dominant background. Pair it with crisp white text for excellent legibility. The hex code for this bold, cool hue is #2f56ef, making it a reliable choice for tech and finance interfaces that require energy.

Questions about #2f56ef

What is #2f56ef in RGB, HSL and CMYK?
In RGB, #2f56ef is rgb(47, 86, 239), in HSL hsl(228, 86%, 56%) and in CMYK 80%, 64%, 0%, 6%.
Where should I use the #2f56ef electric blue in a user interface?
#2f56ef is best reserved for interactive elements like buttons, primary call-to-action triggers, or active state highlights. Because of its intense saturation, it can overwhelm the eye if used as a primary background color or across large text blocks.
Is #2f56ef readable on white or black?
#2f56ef has a 5.67:1 contrast ratio on white and 3.69: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.