Skip to content

#2fa7eb

a balanced, electric blue · cool · closest name: steelblue

RGB
47, 167, 235
HSL
202°, 83%, 55%
CMYK
80, 29, 0, 8
Luminance
0.3424

Every format

HEX#2fa7eb
RGBrgb(47, 167, 235)
HSLhsl(202, 83%, 55%)
CMYKcmyk(80%, 29%, 0%, 8%)
LABlab(65.2 -9.4 -43.2)
LCHlch(65.2 44.2 257.7)
OKLCHoklch(0.695 0.142 239.4)

Copy-ready code

/* CSS */
color: #2fa7eb;
background-color: #2fa7eb;
/* Tailwind (arbitrary) */
class="text-[#2fa7eb] bg-[#2fa7eb]"
/* SCSS */
$brand: #2fa7eb;
/* SwiftUI */
Color(red: 0.184, green: 0.655, blue: 0.922)
/* Android */
Color.parseColor("#2fa7eb")

Accessibility — WCAG contrast

Aa
#2fa7eb on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#2fa7eb on black: 7.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green65.5%
Blue92.2%

CMYK percentages

Cyan80.0%
Magenta28.9%
Yellow0.0%
Key (black)7.8%

Color previews

#2fa7eb text on a black background

contrast 7.85:1

Card sample

#2fa7eb text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2fa7eb;
Background color
Panel with #2fa7eb background
background-color: #2fa7eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2fa7eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(47, 167, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 167, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fa7eb;
background: linear-gradient(135deg, #2fa7eb, #342FEB);

Monochromatic scale

Palettes built from #2fa7eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa7eb in the Color Lab