Skip to content

#afd1f9

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

RGB
175, 209, 249
HSL
212°, 86%, 83%
CMYK
30, 16, 0, 2
Luminance
0.6155

Every format

HEX#afd1f9
RGBrgb(175, 209, 249)
HSLhsl(212, 86%, 83%)
CMYKcmyk(30%, 16%, 0%, 2%)
LABlab(82.7 -2.3 -23.3)
LCHlch(82.7 23.4 264.4)
OKLCHoklch(0.850 0.067 252.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd1f9 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afd1f9 on black: 13.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.0%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta16.1%
Yellow0.0%
Key (black)2.4%

Color previews

#afd1f9 text on a black background

contrast 13.31:1

Card sample

#afd1f9 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd1f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd1f9 in the Color Lab