Skip to content

#2daafd

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

RGB
45, 170, 253
HSL
204°, 98%, 58%
CMYK
82, 33, 0, 1
Luminance
0.3640

Every format

HEX#2daafd
RGBrgb(45, 170, 253)
HSLhsl(204, 98%, 58%)
CMYKcmyk(82%, 33%, 0%, 1%)
LABlab(66.8 -4.9 -50.4)
LCHlch(66.8 50.7 264.4)
OKLCHoklch(0.711 0.160 243.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2daafd on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#2daafd on black: 8.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green66.7%
Blue99.2%

CMYK percentages

Cyan82.2%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#2daafd text on a black background

contrast 8.28:1

Card sample

#2daafd text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2daafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2daafd in the Color Lab