Skip to content

#afd2fa

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

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

Every format

HEX#afd2fa
RGBrgb(175, 210, 250)
HSLhsl(212, 88%, 83%)
CMYKcmyk(30%, 16%, 0%, 2%)
LABlab(83.0 -2.6 -23.4)
LCHlch(83.0 23.5 263.7)
OKLCHoklch(0.852 0.067 252.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green82.4%
Blue98.0%

CMYK percentages

Cyan30.0%
Magenta16.0%
Yellow0.0%
Key (black)2.0%

Color previews

#afd2fa text on a black background

contrast 13.42:1

Card sample

#afd2fa text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2fa in the Color Lab