Skip to content

#2fa0fd

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

RGB
47, 160, 253
HSL
207°, 98%, 59%
CMYK
81, 37, 0, 1
Luminance
0.3284

Every format

HEX#2fa0fd
RGBrgb(47, 160, 253)
HSLhsl(207, 98%, 59%)
CMYKcmyk(81%, 37%, 0%, 1%)
LABlab(64.0 0.9 -54.9)
LCHlch(64.0 54.9 271.0)
OKLCHoklch(0.689 0.168 248.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fa0fd on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#2fa0fd on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green62.7%
Blue99.2%

CMYK percentages

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

Color previews

#2fa0fd text on a black background

contrast 7.57:1

Card sample

#2fa0fd text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fa0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fa0fd in the Color Lab