Skip to content

#8eb3fa

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

RGB
142, 179, 250
HSL
219°, 92%, 77%
CMYK
43, 28, 0, 2
Luminance
0.4489

Every format

HEX#8eb3fa
RGBrgb(142, 179, 250)
HSLhsl(219, 92%, 77%)
CMYKcmyk(43%, 28%, 0%, 2%)
LABlab(72.8 5.5 -39.1)
LCHlch(72.8 39.5 278.0)
OKLCHoklch(0.767 0.110 262.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb3fa on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#8eb3fa on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green70.2%
Blue98.0%

CMYK percentages

Cyan43.2%
Magenta28.4%
Yellow0.0%
Key (black)2.0%

Color previews

#8eb3fa text on a black background

contrast 9.98:1

Card sample

#8eb3fa text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8eb3fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb3fa in the Color Lab