Skip to content

#afd2f7

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

RGB
175, 210, 247
HSL
211°, 82%, 83%
CMYK
29, 15, 0, 3
Luminance
0.6192

Every format

HEX#afd2f7
RGBrgb(175, 210, 247)
HSLhsl(211, 82%, 83%)
CMYKcmyk(29%, 15%, 0%, 3%)
LABlab(82.9 -3.3 -21.9)
LCHlch(82.9 22.1 261.5)
OKLCHoklch(0.851 0.064 250.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd2f7 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#afd2f7 on black: 13.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue96.9%

CMYK percentages

Cyan29.1%
Magenta15.0%
Yellow0.0%
Key (black)3.1%

Color previews

#afd2f7 text on a black background

contrast 13.38:1

Card sample

#afd2f7 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2f7 in the Color Lab