Skip to content

#afbfe2

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

RGB
175, 191, 226
HSL
221°, 47%, 79%
CMYK
23, 16, 0, 11
Luminance
0.5187

Every format

HEX#afbfe2
RGBrgb(175, 191, 226)
HSLhsl(221, 47%, 79%)
CMYKcmyk(23%, 16%, 0%, 11%)
LABlab(77.2 2.0 -19.3)
LCHlch(77.2 19.4 275.9)
OKLCHoklch(0.804 0.053 265.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbfe2 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#afbfe2 on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green74.9%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta15.5%
Yellow0.0%
Key (black)11.4%

Color previews

#afbfe2 text on a black background

contrast 11.37:1

Card sample

#afbfe2 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbfe2 in the Color Lab