Skip to content

#afe2ff

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

RGB
175, 226, 255
HSL
202°, 100%, 84%
CMYK
31, 11, 0, 0
Luminance
0.7073

Every format

HEX#afe2ff
RGBrgb(175, 226, 255)
HSLhsl(202, 100%, 84%)
CMYKcmyk(31%, 11%, 0%, 0%)
LABlab(87.3 -9.7 -19.4)
LCHlch(87.3 21.7 243.4)
OKLCHoklch(0.887 0.066 233.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue100.0%

CMYK percentages

Cyan31.4%
Magenta11.4%
Yellow0.0%
Key (black)0.0%

Color previews

#afe2ff text on a black background

contrast 15.15:1

Card sample

#afe2ff text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2ff in the Color Lab