Skip to content

#afd0fa

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

RGB
175, 208, 250
HSL
214°, 88%, 83%
CMYK
30, 17, 0, 2
Luminance
0.6113

Every format

HEX#afd0fa
RGBrgb(175, 208, 250)
HSLhsl(214, 88%, 83%)
CMYKcmyk(30%, 17%, 0%, 2%)
LABlab(82.5 -1.5 -24.1)
LCHlch(82.5 24.2 266.4)
OKLCHoklch(0.848 0.069 254.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd0fa on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#afd0fa on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue98.0%

CMYK percentages

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

Color previews

#afd0fa text on a black background

contrast 13.23:1

Card sample

#afd0fa text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd0fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd0fa in the Color Lab