Skip to content

#afd8f0

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

RGB
175, 216, 240
HSL
202°, 68%, 81%
CMYK
27, 10, 0, 6
Luminance
0.6452

Every format

HEX#afd8f0
RGBrgb(175, 216, 240)
HSLhsl(202, 68%, 81%)
CMYKcmyk(27%, 10%, 0%, 6%)
LABlab(84.2 -8.0 -16.1)
LCHlch(84.2 18.0 243.5)
OKLCHoklch(0.861 0.054 233.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd8f0 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#afd8f0 on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green84.7%
Blue94.1%

CMYK percentages

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

Color previews

#afd8f0 text on a black background

contrast 13.90:1

Card sample

#afd8f0 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd8f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd8f0 in the Color Lab