#2F7CF2 Hex Color

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

Hex color #2f7cf2 graphic
This saturated, electric blue commands immediate attention in digital designs. The hex code for this shade is #2f7cf2. Because of its intense chroma, use it as a high-impact accent or CTA button rather than a background. It provides enough contrast for black text to remain legible at small sizes, making it a reliable choice for UI elements that require clarity and user focus.

Questions about #2f7cf2

What is #2f7cf2 in RGB, HSL and CMYK?
In RGB, #2f7cf2 is rgb(47, 124, 242), in HSL hsl(216, 88%, 57%) and in CMYK 81%, 49%, 0%, 5%. Browse more shades of blue with names and hex codes.
Is #2f7cf2 safe to use for white text in UI design?
Using white text on #2f7cf2 will generally fail standard accessibility contrast ratios because the blue is quite bright and lacks the depth needed for high legibility. Opt for black or very dark text instead to ensure your interface remains readable for all users.
What colors pair well with #2f7cf2 in a design palette?
Because #2f7cf2 is a highly saturated electric blue, it pairs well with neutral anchors like charcoal or cool slate to prevent visual fatigue. If you need a secondary accent, a muted orange or soft cream creates a balanced, professional contrast.
Is #2f7cf2 readable on white or black?
#2f7cf2 has a 3.97:1 contrast ratio on white and 5.28:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.