Skip to content

#afd4fa

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

RGB
175, 212, 250
HSL
210°, 88%, 83%
CMYK
30, 15, 0, 2
Luminance
0.6310

Every format

HEX#afd4fa
RGBrgb(175, 212, 250)
HSLhsl(210, 88%, 83%)
CMYKcmyk(30%, 15%, 0%, 2%)
LABlab(83.5 -3.6 -22.6)
LCHlch(83.5 22.8 260.9)
OKLCHoklch(0.856 0.066 249.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd4fa on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#afd4fa on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green83.1%
Blue98.0%

CMYK percentages

Cyan30.0%
Magenta15.2%
Yellow0.0%
Key (black)2.0%

Color previews

#afd4fa text on a black background

contrast 13.62:1

Card sample

#afd4fa text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd4fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd4fa in the Color Lab