Skip to content

#afd0f8

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

RGB
175, 208, 248
HSL
213°, 84%, 83%
CMYK
29, 16, 0, 3
Luminance
0.6100

Every format

HEX#afd0f8
RGBrgb(175, 208, 248)
HSLhsl(213, 84%, 83%)
CMYKcmyk(29%, 16%, 0%, 3%)
LABlab(82.4 -2.0 -23.2)
LCHlch(82.4 23.3 265.1)
OKLCHoklch(0.847 0.066 253.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green81.6%
Blue97.3%

CMYK percentages

Cyan29.4%
Magenta16.1%
Yellow0.0%
Key (black)2.7%

Color previews

#afd0f8 text on a black background

contrast 13.20:1

Card sample

#afd0f8 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd0f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd0f8 in the Color Lab