Skip to content

#afd2ff

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

RGB
175, 210, 255
HSL
214°, 100%, 84%
CMYK
31, 18, 0, 0
Luminance
0.6243

Every format

HEX#afd2ff
RGBrgb(175, 210, 255)
HSLhsl(214, 100%, 84%)
CMYKcmyk(31%, 18%, 0%, 0%)
LABlab(83.1 -1.4 -25.8)
LCHlch(83.1 25.8 267.0)
OKLCHoklch(0.854 0.073 254.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd2ff on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#afd2ff on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue100.0%

CMYK percentages

Cyan31.4%
Magenta17.6%
Yellow0.0%
Key (black)0.0%

Color previews

#afd2ff text on a black background

contrast 13.49:1

Card sample

#afd2ff text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2ff in the Color Lab