Skip to content

#a2c7fd

a light, electric blue · cool · closest name: skyblue

RGB
162, 199, 253
HSL
216°, 96%, 81%
CMYK
36, 21, 0, 1
Luminance
0.5562

Every format

HEX#a2c7fd
RGBrgb(162, 199, 253)
HSLhsl(216, 96%, 81%)
CMYKcmyk(36%, 21%, 0%, 1%)
LABlab(79.4 0.5 -30.5)
LCHlch(79.4 30.5 270.9)
OKLCHoklch(0.822 0.086 257.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2c7fd on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#a2c7fd on black: 12.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green78.0%
Blue99.2%

CMYK percentages

Cyan36.0%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#a2c7fd text on a black background

contrast 12.12:1

Card sample

#a2c7fd text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 199, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 199, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2c7fd;
background: linear-gradient(135deg, #a2c7fd, #BAA2FD);

Monochromatic scale

Palettes built from #a2c7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2c7fd in the Color Lab