Skip to content

#a4afdf

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

RGB
164, 175, 223
HSL
229°, 48%, 76%
CMYK
27, 22, 0, 13
Luminance
0.4388

Every format

HEX#a4afdf
RGBrgb(164, 175, 223)
HSLhsl(229, 48%, 76%)
CMYKcmyk(27%, 22%, 0%, 13%)
LABlab(72.2 6.7 -25.4)
LCHlch(72.2 26.3 284.8)
OKLCHoklch(0.762 0.070 274.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a4afdf on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#a4afdf on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green68.6%
Blue87.5%

CMYK percentages

Cyan26.5%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#a4afdf text on a black background

contrast 9.78:1

Card sample

#a4afdf text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a4afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4afdf in the Color Lab