Skip to content

#afdaf9

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

RGB
175, 218, 249
HSL
205°, 86%, 83%
CMYK
30, 12, 0, 2
Luminance
0.6610

Every format

HEX#afdaf9
RGBrgb(175, 218, 249)
HSLhsl(205, 86%, 83%)
CMYKcmyk(30%, 12%, 0%, 2%)
LABlab(85.0 -7.0 -19.7)
LCHlch(85.0 20.9 250.4)
OKLCHoklch(0.868 0.062 239.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdaf9 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#afdaf9 on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue97.6%

CMYK percentages

Cyan29.7%
Magenta12.4%
Yellow0.0%
Key (black)2.4%

Color previews

#afdaf9 text on a black background

contrast 14.22:1

Card sample

#afdaf9 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdaf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdaf9 in the Color Lab