Skip to content

#afdaf4

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

RGB
175, 218, 244
HSL
203°, 76%, 82%
CMYK
28, 11, 0, 4
Luminance
0.6579

Every format

HEX#afdaf4
RGBrgb(175, 218, 244)
HSLhsl(203, 76%, 82%)
CMYKcmyk(28%, 11%, 0%, 4%)
LABlab(84.9 -8.2 -17.3)
LCHlch(84.9 19.1 244.7)
OKLCHoklch(0.866 0.058 234.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdaf4 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#afdaf4 on black: 14.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.5%
Blue95.7%

CMYK percentages

Cyan28.3%
Magenta10.7%
Yellow0.0%
Key (black)4.3%

Color previews

#afdaf4 text on a black background

contrast 14.16:1

Card sample

#afdaf4 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afdaf4 in the Color Lab