Skip to content

#2facfc

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

RGB
47, 172, 252
HSL
203°, 97%, 59%
CMYK
81, 32, 0, 1
Luminance
0.3714

Every format

HEX#2facfc
RGBrgb(47, 172, 252)
HSLhsl(203, 97%, 59%)
CMYKcmyk(81%, 32%, 0%, 1%)
LABlab(67.4 -6.2 -49.0)
LCHlch(67.4 49.4 262.7)
OKLCHoklch(0.715 0.157 242.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2facfc on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#2facfc on black: 8.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.5%
Blue98.8%

CMYK percentages

Cyan81.3%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#2facfc text on a black background

contrast 8.43:1

Card sample

#2facfc text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 172, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 172, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2facfc;
background: linear-gradient(135deg, #2facfc, #3A2FFC);

Monochromatic scale

Palettes built from #2facfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2facfc in the Color Lab