Skip to content

#2fa5eb

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

RGB
47, 165, 235
HSL
202°, 83%, 55%
CMYK
80, 30, 0, 8
Luminance
0.3351

Every format

HEX#2fa5eb
RGBrgb(47, 165, 235)
HSLhsl(202, 83%, 55%)
CMYKcmyk(80%, 30%, 0%, 8%)
LABlab(64.6 -8.3 -44.1)
LCHlch(64.6 44.9 259.3)
OKLCHoklch(0.690 0.144 240.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa5eb on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#2fa5eb on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green64.7%
Blue92.2%

CMYK percentages

Cyan80.0%
Magenta29.8%
Yellow0.0%
Key (black)7.8%

Color previews

#2fa5eb text on a black background

contrast 7.70:1

Card sample

#2fa5eb text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fa5eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa5eb in the Color Lab