Skip to content

#2aaafd

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

RGB
42, 170, 253
HSL
204°, 98%, 58%
CMYK
83, 33, 0, 1
Luminance
0.3633

Every format

HEX#2aaafd
RGBrgb(42, 170, 253)
HSLhsl(204, 98%, 58%)
CMYKcmyk(83%, 33%, 0%, 1%)
LABlab(66.8 -5.2 -50.5)
LCHlch(66.8 50.8 264.2)
OKLCHoklch(0.710 0.161 243.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green66.7%
Blue99.2%

CMYK percentages

Cyan83.4%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#2aaafd text on a black background

contrast 8.27:1

Card sample

#2aaafd text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aaafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aaafd in the Color Lab