Skip to content

#8ab2fd

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

RGB
138, 178, 253
HSL
219°, 97%, 77%
CMYK
46, 30, 0, 1
Luminance
0.4434

Every format

HEX#8ab2fd
RGBrgb(138, 178, 253)
HSLhsl(219, 97%, 77%)
CMYKcmyk(46%, 30%, 0%, 1%)
LABlab(72.5 5.9 -41.4)
LCHlch(72.5 41.8 278.1)
OKLCHoklch(0.764 0.117 262.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ab2fd on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#8ab2fd on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green69.8%
Blue99.2%

CMYK percentages

Cyan45.5%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#8ab2fd text on a black background

contrast 9.87:1

Card sample

#8ab2fd text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ab2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ab2fd in the Color Lab