Skip to content

#afb2d6

a light, soft blue · warm · closest name: silver

RGB
175, 178, 214
HSL
235°, 32%, 76%
CMYK
18, 17, 0, 16
Luminance
0.4581

Every format

HEX#afb2d6
RGBrgb(175, 178, 214)
HSLhsl(235, 32%, 76%)
CMYKcmyk(18%, 17%, 0%, 16%)
LABlab(73.4 6.4 -18.5)
LCHlch(73.4 19.5 289.0)
OKLCHoklch(0.773 0.051 281.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2d6 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#afb2d6 on black: 10.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue83.9%

CMYK percentages

Cyan18.2%
Magenta16.8%
Yellow0.0%
Key (black)16.1%

Color previews

#afb2d6 text on a black background

contrast 10.16:1

Card sample

#afb2d6 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2d6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2d6 in the Color Lab