Skip to content

#afd0f9

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

RGB
175, 208, 249
HSL
213°, 86%, 83%
CMYK
30, 17, 0, 2
Luminance
0.6107

Every format

HEX#afd0f9
RGBrgb(175, 208, 249)
HSLhsl(213, 86%, 83%)
CMYKcmyk(30%, 17%, 0%, 2%)
LABlab(82.4 -1.7 -23.7)
LCHlch(82.4 23.7 265.8)
OKLCHoklch(0.848 0.068 254.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd0f9 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#afd0f9 on black: 13.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue97.6%

CMYK percentages

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

Color previews

#afd0f9 text on a black background

contrast 13.21:1

Card sample

#afd0f9 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd0f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd0f9 in the Color Lab