Skip to content

#afe2f6

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

RGB
175, 226, 246
HSL
197°, 80%, 83%
CMYK
29, 8, 0, 4
Luminance
0.7016

Every format

HEX#afe2f6
RGBrgb(175, 226, 246)
HSLhsl(197, 80%, 83%)
CMYKcmyk(29%, 8%, 0%, 4%)
LABlab(87.1 -11.8 -15.0)
LCHlch(87.1 19.1 231.9)
OKLCHoklch(0.884 0.059 223.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2f6 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#afe2f6 on black: 15.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue96.5%

CMYK percentages

Cyan28.9%
Magenta8.1%
Yellow0.0%
Key (black)3.5%

Color previews

#afe2f6 text on a black background

contrast 15.03:1

Card sample

#afe2f6 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2f6 in the Color Lab