Skip to content

#afd0fd

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

RGB
175, 208, 253
HSL
215°, 95%, 84%
CMYK
31, 18, 0, 1
Luminance
0.6132

Every format

HEX#afd0fd
RGBrgb(175, 208, 253)
HSLhsl(215, 95%, 84%)
CMYKcmyk(31%, 18%, 0%, 1%)
LABlab(82.5 -0.8 -25.6)
LCHlch(82.5 25.6 268.3)
OKLCHoklch(0.849 0.072 256.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green81.6%
Blue99.2%

CMYK percentages

Cyan30.8%
Magenta17.8%
Yellow0.0%
Key (black)0.8%

Color previews

#afd0fd text on a black background

contrast 13.26:1

Card sample

#afd0fd text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd0fd in the Color Lab