Skip to content

#afd2ec

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

RGB
175, 210, 236
HSL
206°, 62%, 81%
CMYK
26, 11, 0, 8
Luminance
0.6126

Every format

HEX#afd2ec
RGBrgb(175, 210, 236)
HSLhsl(206, 62%, 81%)
CMYKcmyk(26%, 11%, 0%, 8%)
LABlab(82.5 -5.8 -16.6)
LCHlch(82.5 17.6 250.6)
OKLCHoklch(0.847 0.052 240.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd2ec on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afd2ec on black: 13.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue92.5%

CMYK percentages

Cyan25.8%
Magenta11.0%
Yellow0.0%
Key (black)7.5%

Color previews

#afd2ec text on a black background

contrast 13.25:1

Card sample

#afd2ec text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd2ec in the Color Lab