Skip to content

#a5afdf

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

RGB
165, 175, 223
HSL
230°, 48%, 76%
CMYK
26, 22, 0, 13
Luminance
0.4399

Every format

HEX#a5afdf
RGBrgb(165, 175, 223)
HSLhsl(230, 48%, 76%)
CMYKcmyk(26%, 22%, 0%, 13%)
LABlab(72.2 7.0 -25.3)
LCHlch(72.2 26.2 285.5)
OKLCHoklch(0.763 0.070 275.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a5afdf on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a5afdf on black: 9.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green68.6%
Blue87.5%

CMYK percentages

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

Color previews

#a5afdf text on a black background

contrast 9.80:1

Card sample

#a5afdf text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5afdf in the Color Lab