Skip to content

#afd7f0

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

RGB
175, 215, 240
HSL
203°, 68%, 81%
CMYK
27, 10, 0, 6
Luminance
0.6401

Every format

HEX#afd7f0
RGBrgb(175, 215, 240)
HSLhsl(203, 68%, 81%)
CMYKcmyk(27%, 10%, 0%, 6%)
LABlab(84.0 -7.5 -16.5)
LCHlch(84.0 18.2 245.6)
OKLCHoklch(0.859 0.055 235.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green84.3%
Blue94.1%

CMYK percentages

Cyan27.1%
Magenta10.4%
Yellow0.0%
Key (black)5.9%

Color previews

#afd7f0 text on a black background

contrast 13.80:1

Card sample

#afd7f0 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd7f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd7f0 in the Color Lab