Skip to content

#2faff8

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

RGB
47, 175, 248
HSL
202°, 94%, 58%
CMYK
81, 29, 0, 3
Luminance
0.3804

Every format

HEX#2faff8
RGBrgb(47, 175, 248)
HSLhsl(202, 94%, 58%)
CMYKcmyk(81%, 29%, 0%, 3%)
LABlab(68.0 -9.3 -45.8)
LCHlch(68.0 46.7 258.5)
OKLCHoklch(0.720 0.150 239.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2faff8 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#2faff8 on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green68.6%
Blue97.3%

CMYK percentages

Cyan81.0%
Magenta29.4%
Yellow0.0%
Key (black)2.7%

Color previews

#2faff8 text on a black background

contrast 8.61:1

Card sample

#2faff8 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2faff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2faff8 in the Color Lab