Skip to content

#8aa2db

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

RGB
138, 162, 219
HSL
222°, 53%, 70%
CMYK
37, 26, 0, 14
Luminance
0.3636

Every format

HEX#8aa2db
RGBrgb(138, 162, 219)
HSLhsl(222, 53%, 70%)
CMYKcmyk(37%, 26%, 0%, 14%)
LABlab(66.8 5.5 -31.6)
LCHlch(66.8 32.1 279.9)
OKLCHoklch(0.716 0.088 266.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8aa2db on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#8aa2db on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green63.5%
Blue85.9%

CMYK percentages

Cyan37.0%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#8aa2db text on a black background

contrast 8.27:1

Card sample

#8aa2db text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8aa2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8aa2db in the Color Lab