Skip to content

#afd7f1

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

RGB
175, 215, 241
HSL
204°, 70%, 82%
CMYK
27, 11, 0, 6
Luminance
0.6407

Every format

HEX#afd7f1
RGBrgb(175, 215, 241)
HSLhsl(204, 70%, 82%)
CMYKcmyk(27%, 11%, 0%, 6%)
LABlab(84.0 -7.3 -17.0)
LCHlch(84.0 18.5 246.8)
OKLCHoklch(0.859 0.056 236.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd7f1 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#afd7f1 on black: 13.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green84.3%
Blue94.5%

CMYK percentages

Cyan27.4%
Magenta10.8%
Yellow0.0%
Key (black)5.5%

Color previews

#afd7f1 text on a black background

contrast 13.81:1

Card sample

#afd7f1 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd7f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd7f1 in the Color Lab