Skip to content

#8baffc

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

RGB
139, 175, 252
HSL
221°, 95%, 77%
CMYK
45, 31, 0, 1
Luminance
0.4318

Every format

HEX#8baffc
RGBrgb(139, 175, 252)
HSLhsl(221, 95%, 77%)
CMYKcmyk(45%, 31%, 0%, 1%)
LABlab(71.7 7.5 -42.0)
LCHlch(71.7 42.7 280.2)
OKLCHoklch(0.758 0.118 264.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8baffc on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#8baffc on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green68.6%
Blue98.8%

CMYK percentages

Cyan44.8%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#8baffc text on a black background

contrast 9.64:1

Card sample

#8baffc text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8baffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8baffc in the Color Lab