Skip to content

#2fa7fd

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

RGB
47, 167, 253
HSL
205°, 98%, 59%
CMYK
81, 34, 0, 1
Luminance
0.3533

Every format

HEX#2fa7fd
RGBrgb(47, 167, 253)
HSLhsl(205, 98%, 59%)
CMYKcmyk(81%, 34%, 0%, 1%)
LABlab(66.0 -3.1 -51.7)
LCHlch(66.0 51.8 266.6)
OKLCHoklch(0.704 0.162 245.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa7fd on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#2fa7fd on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green65.5%
Blue99.2%

CMYK percentages

Cyan81.4%
Magenta34.0%
Yellow0.0%
Key (black)0.8%

Color previews

#2fa7fd text on a black background

contrast 8.07:1

Card sample

#2fa7fd text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fa7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa7fd in the Color Lab