Skip to content

#2da2fe

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

RGB
45, 162, 254
HSL
206°, 99%, 59%
CMYK
82, 36, 0, 0
Luminance
0.3355

Every format

HEX#2da2fe
RGBrgb(45, 162, 254)
HSLhsl(206, 99%, 59%)
CMYKcmyk(82%, 36%, 0%, 0%)
LABlab(64.6 -0.0 -54.5)
LCHlch(64.6 54.5 270.0)
OKLCHoklch(0.693 0.168 247.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2da2fe on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#2da2fe on black: 7.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green63.5%
Blue99.6%

CMYK percentages

Cyan82.3%
Magenta36.2%
Yellow0.0%
Key (black)0.4%

Color previews

#2da2fe text on a black background

contrast 7.71:1

Card sample

#2da2fe text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 162, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 162, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2da2fe;
background: linear-gradient(135deg, #2da2fe, #432DFE);

Monochromatic scale

Palettes built from #2da2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2da2fe in the Color Lab