Skip to content

#8eb2fa

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

RGB
142, 178, 250
HSL
220°, 92%, 77%
CMYK
43, 29, 0, 2
Luminance
0.4449

Every format

HEX#8eb2fa
RGBrgb(142, 178, 250)
HSLhsl(220, 92%, 77%)
CMYKcmyk(43%, 29%, 0%, 2%)
LABlab(72.6 6.0 -39.5)
LCHlch(72.6 40.0 278.7)
OKLCHoklch(0.765 0.111 263.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb2fa on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#8eb2fa on black: 9.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green69.8%
Blue98.0%

CMYK percentages

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

Color previews

#8eb2fa text on a black background

contrast 9.90:1

Card sample

#8eb2fa text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8eb2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb2fa in the Color Lab