Skip to content

#2daffb

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

RGB
45, 175, 251
HSL
202°, 96%, 58%
CMYK
82, 30, 0, 2
Luminance
0.3818

Every format

HEX#2daffb
RGBrgb(45, 175, 251)
HSLhsl(202, 96%, 58%)
CMYKcmyk(82%, 30%, 0%, 2%)
LABlab(68.2 -8.4 -47.2)
LCHlch(68.2 48.0 259.9)
OKLCHoklch(0.721 0.154 240.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2daffb on white: 2.43:1
AA ✗ fail · AA-large · AAA
Aa
#2daffb on black: 8.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green68.6%
Blue98.4%

CMYK percentages

Cyan82.1%
Magenta30.3%
Yellow0.0%
Key (black)1.6%

Color previews

#2daffb text on a black background

contrast 8.64:1

Card sample

#2daffb text on a white background

contrast 2.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 175, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 175, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2daffb;
background: linear-gradient(135deg, #2daffb, #342DFB);

Monochromatic scale

Palettes built from #2daffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2daffb in the Color Lab