Skip to content

#afbdf2

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

RGB
175, 189, 242
HSL
228°, 72%, 82%
CMYK
28, 22, 0, 5
Luminance
0.5192

Every format

HEX#afbdf2
RGBrgb(175, 189, 242)
HSLhsl(228, 72%, 82%)
CMYKcmyk(28%, 22%, 0%, 5%)
LABlab(77.2 6.8 -27.8)
LCHlch(77.2 28.6 283.8)
OKLCHoklch(0.806 0.077 273.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbdf2 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#afbdf2 on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green74.1%
Blue94.9%

CMYK percentages

Cyan27.7%
Magenta21.9%
Yellow0.0%
Key (black)5.1%

Color previews

#afbdf2 text on a black background

contrast 11.38:1

Card sample

#afbdf2 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbdf2 in the Color Lab