Skip to content

#afe2fe

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

RGB
175, 226, 254
HSL
201°, 98%, 84%
CMYK
31, 11, 0, 0
Luminance
0.7066

Every format

HEX#afe2fe
RGBrgb(175, 226, 254)
HSLhsl(201, 98%, 84%)
CMYKcmyk(31%, 11%, 0%, 0%)
LABlab(87.3 -9.9 -18.9)
LCHlch(87.3 21.3 242.2)
OKLCHoklch(0.887 0.065 232.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan31.1%
Magenta11.0%
Yellow0.0%
Key (black)0.4%

Color previews

#afe2fe text on a black background

contrast 15.13:1

Card sample

#afe2fe text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2fe in the Color Lab