Skip to content

#afcfe2

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

RGB
175, 207, 226
HSL
202°, 47%, 79%
CMYK
23, 8, 0, 11
Luminance
0.5923

Every format

HEX#afcfe2
RGBrgb(175, 207, 226)
HSLhsl(202, 47%, 79%)
CMYKcmyk(23%, 8%, 0%, 11%)
LABlab(81.4 -6.5 -12.9)
LCHlch(81.4 14.5 243.2)
OKLCHoklch(0.837 0.043 234.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afcfe2 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#afcfe2 on black: 12.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.2%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta8.4%
Yellow0.0%
Key (black)11.4%

Color previews

#afcfe2 text on a black background

contrast 12.85:1

Card sample

#afcfe2 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afcfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afcfe2 in the Color Lab