Skip to content

#8eb1ff

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

RGB
142, 177, 255
HSL
221°, 100%, 78%
CMYK
44, 31, 0, 0
Luminance
0.4442

Every format

HEX#8eb1ff
RGBrgb(142, 177, 255)
HSLhsl(221, 100%, 78%)
CMYKcmyk(44%, 31%, 0%, 0%)
LABlab(72.5 8.0 -42.3)
LCHlch(72.5 43.1 280.7)
OKLCHoklch(0.766 0.119 265.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red55.7%
Green69.4%
Blue100.0%

CMYK percentages

Cyan44.3%
Magenta30.6%
Yellow0.0%
Key (black)0.0%

Color previews

#8eb1ff text on a black background

contrast 9.88:1

Card sample

#8eb1ff text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8eb1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8eb1ff in the Color Lab