Skip to content

#8eb2fd

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

RGB
142, 178, 253
HSL
221°, 97%, 78%
CMYK
44, 30, 0, 1
Luminance
0.4468

Every format

HEX#8eb2fd
RGBrgb(142, 178, 253)
HSLhsl(221, 97%, 78%)
CMYKcmyk(44%, 30%, 0%, 1%)
LABlab(72.7 6.9 -41.0)
LCHlch(72.7 41.5 279.5)
OKLCHoklch(0.767 0.115 264.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb2fd on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#8eb2fd on black: 9.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green69.8%
Blue99.2%

CMYK percentages

Cyan43.9%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#8eb2fd text on a black background

contrast 9.94:1

Card sample

#8eb2fd text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8eb2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb2fd in the Color Lab