Skip to content

#afe2f9

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

RGB
175, 226, 249
HSL
199°, 86%, 83%
CMYK
30, 9, 0, 2
Luminance
0.7035

Every format

HEX#afe2f9
RGBrgb(175, 226, 249)
HSLhsl(199, 86%, 83%)
CMYKcmyk(30%, 9%, 0%, 2%)
LABlab(87.2 -11.1 -16.5)
LCHlch(87.2 19.9 236.0)
OKLCHoklch(0.885 0.061 227.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan29.7%
Magenta9.2%
Yellow0.0%
Key (black)2.4%

Color previews

#afe2f9 text on a black background

contrast 15.07:1

Card sample

#afe2f9 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2f9 in the Color Lab