Skip to content

#afd2f9

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

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

Every format

HEX#afd2f9
RGBrgb(175, 210, 249)
HSLhsl(212, 86%, 83%)
CMYKcmyk(30%, 16%, 0%, 2%)
LABlab(82.9 -2.8 -22.9)
LCHlch(82.9 23.0 263.0)
OKLCHoklch(0.852 0.066 251.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd2f9 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#afd2f9 on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta15.7%
Yellow0.0%
Key (black)2.4%

Color previews

#afd2f9 text on a black background

contrast 13.41:1

Card sample

#afd2f9 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2f9 in the Color Lab