Skip to content

#a5acdf

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

RGB
165, 172, 223
HSL
233°, 48%, 76%
CMYK
26, 23, 0, 13
Luminance
0.4283

Every format

HEX#a5acdf
RGBrgb(165, 172, 223)
HSLhsl(233, 48%, 76%)
CMYKcmyk(26%, 23%, 0%, 13%)
LABlab(71.4 8.7 -26.5)
LCHlch(71.4 27.9 288.1)
OKLCHoklch(0.757 0.074 278.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a5acdf on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#a5acdf on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green67.5%
Blue87.5%

CMYK percentages

Cyan26.0%
Magenta22.9%
Yellow0.0%
Key (black)12.5%

Color previews

#a5acdf text on a black background

contrast 9.57:1

Card sample

#a5acdf text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5acdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5acdf in the Color Lab