Skip to content

#2faafd

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

RGB
47, 170, 253
HSL
204°, 98%, 59%
CMYK
81, 33, 0, 1
Luminance
0.3645

Every format

HEX#2faafd
RGBrgb(47, 170, 253)
HSLhsl(204, 98%, 59%)
CMYKcmyk(81%, 33%, 0%, 1%)
LABlab(66.9 -4.8 -50.4)
LCHlch(66.9 50.6 264.6)
OKLCHoklch(0.711 0.159 244.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2faafd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#2faafd on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green66.7%
Blue99.2%

CMYK percentages

Cyan81.4%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#2faafd text on a black background

contrast 8.29:1

Card sample

#2faafd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2faafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2faafd in the Color Lab