Skip to content

#afe2f8

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

RGB
175, 226, 248
HSL
198°, 84%, 83%
CMYK
29, 9, 0, 3
Luminance
0.7028

Every format

HEX#afe2f8
RGBrgb(175, 226, 248)
HSLhsl(198, 84%, 83%)
CMYKcmyk(29%, 9%, 0%, 3%)
LABlab(87.1 -11.3 -16.0)
LCHlch(87.1 19.6 234.6)
OKLCHoklch(0.885 0.061 226.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue97.3%

CMYK percentages

Cyan29.4%
Magenta8.9%
Yellow0.0%
Key (black)2.7%

Color previews

#afe2f8 text on a black background

contrast 15.06:1

Card sample

#afe2f8 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2f8 in the Color Lab