Skip to content

#afe2fd

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

RGB
175, 226, 253
HSL
201°, 95%, 84%
CMYK
31, 11, 0, 1
Luminance
0.7060

Every format

HEX#afe2fd
RGBrgb(175, 226, 253)
HSLhsl(201, 95%, 84%)
CMYKcmyk(31%, 11%, 0%, 1%)
LABlab(87.3 -10.2 -18.4)
LCHlch(87.3 21.0 241.0)
OKLCHoklch(0.886 0.064 231.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2fd on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#afe2fd on black: 15.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue99.2%

CMYK percentages

Cyan30.8%
Magenta10.7%
Yellow0.0%
Key (black)0.8%

Color previews

#afe2fd text on a black background

contrast 15.12:1

Card sample

#afe2fd text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2fd in the Color Lab