Skip to content

#8eb2f0

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

RGB
142, 178, 240
HSL
218°, 77%, 75%
CMYK
41, 26, 0, 6
Luminance
0.4388

Every format

HEX#8eb2f0
RGBrgb(142, 178, 240)
HSLhsl(218, 77%, 75%)
CMYKcmyk(41%, 26%, 0%, 6%)
LABlab(72.2 3.3 -34.8)
LCHlch(72.2 34.9 275.4)
OKLCHoklch(0.761 0.098 261.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8eb2f0 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#8eb2f0 on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green69.8%
Blue94.1%

CMYK percentages

Cyan40.8%
Magenta25.8%
Yellow0.0%
Key (black)5.9%

Color previews

#8eb2f0 text on a black background

contrast 9.78:1

Card sample

#8eb2f0 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8eb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb2f0 in the Color Lab