Skip to content

#8aacdf

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

RGB
138, 172, 223
HSL
216°, 57%, 71%
CMYK
38, 23, 0, 13
Luminance
0.4024

Every format

HEX#8aacdf
RGBrgb(138, 172, 223)
HSLhsl(216, 57%, 71%)
CMYKcmyk(38%, 23%, 0%, 13%)
LABlab(69.6 1.0 -29.4)
LCHlch(69.6 29.4 271.9)
OKLCHoklch(0.738 0.083 258.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8aacdf on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#8aacdf on black: 9.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green67.5%
Blue87.5%

CMYK percentages

Cyan38.1%
Magenta22.9%
Yellow0.0%
Key (black)12.5%

Color previews

#8aacdf text on a black background

contrast 9.05:1

Card sample

#8aacdf text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8aacdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8aacdf in the Color Lab