Skip to content

#8baef1

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

RGB
139, 174, 241
HSL
219°, 79%, 75%
CMYK
42, 28, 0, 6
Luminance
0.4211

Every format

HEX#8baef1
RGBrgb(139, 174, 241)
HSLhsl(219, 79%, 75%)
CMYKcmyk(42%, 28%, 0%, 6%)
LABlab(71.0 5.0 -37.2)
LCHlch(71.0 37.5 277.7)
OKLCHoklch(0.751 0.105 262.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8baef1 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#8baef1 on black: 9.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green68.2%
Blue94.5%

CMYK percentages

Cyan42.3%
Magenta27.8%
Yellow0.0%
Key (black)5.5%

Color previews

#8baef1 text on a black background

contrast 9.42:1

Card sample

#8baef1 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 174, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 174, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8baef1;
background: linear-gradient(135deg, #8baef1, #AC8BF1);

Monochromatic scale

Palettes built from #8baef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8baef1 in the Color Lab