Skip to content

#afb5e2

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

RGB
175, 181, 226
HSL
233°, 47%, 79%
CMYK
23, 20, 0, 11
Luminance
0.4765

Every format

HEX#afb5e2
RGBrgb(175, 181, 226)
HSLhsl(233, 47%, 79%)
CMYKcmyk(23%, 20%, 0%, 11%)
LABlab(74.6 7.4 -23.2)
LCHlch(74.6 24.4 287.8)
OKLCHoklch(0.784 0.064 278.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb5e2 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#afb5e2 on black: 10.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.0%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta19.9%
Yellow0.0%
Key (black)11.4%

Color previews

#afb5e2 text on a black background

contrast 10.53:1

Card sample

#afb5e2 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb5e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb5e2 in the Color Lab