Skip to content

#2fa4eb

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

RGB
47, 164, 235
HSL
203°, 83%, 55%
CMYK
80, 30, 0, 8
Luminance
0.3315

Every format

HEX#2fa4eb
RGBrgb(47, 164, 235)
HSLhsl(203, 83%, 55%)
CMYKcmyk(80%, 30%, 0%, 8%)
LABlab(64.3 -7.8 -44.6)
LCHlch(64.3 45.3 260.1)
OKLCHoklch(0.688 0.144 241.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa4eb on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#2fa4eb on black: 7.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green64.3%
Blue92.2%

CMYK percentages

Cyan80.0%
Magenta30.2%
Yellow0.0%
Key (black)7.8%

Color previews

#2fa4eb text on a black background

contrast 7.63:1

Card sample

#2fa4eb text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fa4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa4eb in the Color Lab