Skip to content

#afe2f7

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

RGB
175, 226, 247
HSL
198°, 82%, 83%
CMYK
29, 9, 0, 3
Luminance
0.7022

Every format

HEX#afe2f7
RGBrgb(175, 226, 247)
HSLhsl(198, 82%, 83%)
CMYKcmyk(29%, 9%, 0%, 3%)
LABlab(87.1 -11.6 -15.5)
LCHlch(87.1 19.4 233.3)
OKLCHoklch(0.884 0.060 225.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green88.6%
Blue96.9%

CMYK percentages

Cyan29.1%
Magenta8.5%
Yellow0.0%
Key (black)3.1%

Color previews

#afe2f7 text on a black background

contrast 15.04:1

Card sample

#afe2f7 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2f7 in the Color Lab