Skip to content

#afdef9

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

RGB
175, 222, 249
HSL
202°, 86%, 83%
CMYK
30, 11, 0, 2
Luminance
0.6820

Every format

HEX#afdef9
RGBrgb(175, 222, 249)
HSLhsl(202, 86%, 83%)
CMYKcmyk(30%, 11%, 0%, 2%)
LABlab(86.1 -9.1 -18.1)
LCHlch(86.1 20.2 243.4)
OKLCHoklch(0.877 0.061 233.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdef9 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#afdef9 on black: 14.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green87.1%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta10.8%
Yellow0.0%
Key (black)2.4%

Color previews

#afdef9 text on a black background

contrast 14.64:1

Card sample

#afdef9 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdef9 in the Color Lab