Skip to content

#2aa4fd

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

RGB
42, 164, 253
HSL
205°, 98%, 58%
CMYK
83, 35, 0, 1
Luminance
0.3414

Every format

HEX#2aa4fd
RGBrgb(42, 164, 253)
HSLhsl(205, 98%, 58%)
CMYKcmyk(83%, 35%, 0%, 1%)
LABlab(65.1 -1.8 -53.2)
LCHlch(65.1 53.2 268.1)
OKLCHoklch(0.697 0.166 246.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2aa4fd on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#2aa4fd on black: 7.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green64.3%
Blue99.2%

CMYK percentages

Cyan83.4%
Magenta35.2%
Yellow0.0%
Key (black)0.8%

Color previews

#2aa4fd text on a black background

contrast 7.83:1

Card sample

#2aa4fd text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2aa4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2aa4fd in the Color Lab