Skip to content

#2faff2

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

RGB
47, 175, 242
HSL
201°, 88%, 57%
CMYK
81, 28, 0, 5
Luminance
0.3768

Every format

HEX#2faff2
RGBrgb(47, 175, 242)
HSLhsl(201, 88%, 57%)
CMYKcmyk(81%, 28%, 0%, 5%)
LABlab(67.8 -11.4 -42.9)
LCHlch(67.8 44.4 255.1)
OKLCHoklch(0.717 0.144 237.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2faff2 on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#2faff2 on black: 8.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green68.6%
Blue94.9%

CMYK percentages

Cyan80.6%
Magenta27.7%
Yellow0.0%
Key (black)5.1%

Color previews

#2faff2 text on a black background

contrast 8.54:1

Card sample

#2faff2 text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 175, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 175, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2faff2;
background: linear-gradient(135deg, #2faff2, #312FF2);

Monochromatic scale

Palettes built from #2faff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2faff2 in the Color Lab