Skip to content

#a0afdf

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

RGB
160, 175, 223
HSL
226°, 50%, 75%
CMYK
28, 22, 0, 13
Luminance
0.4346

Every format

HEX#a0afdf
RGBrgb(160, 175, 223)
HSLhsl(226, 50%, 75%)
CMYKcmyk(28%, 22%, 0%, 13%)
LABlab(71.9 5.5 -25.9)
LCHlch(71.9 26.4 282.1)
OKLCHoklch(0.759 0.071 271.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0afdf on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#a0afdf on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green68.6%
Blue87.5%

CMYK percentages

Cyan28.3%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#a0afdf text on a black background

contrast 9.69:1

Card sample

#a0afdf text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0afdf in the Color Lab