Skip to content

#8c9ef1

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

RGB
140, 158, 241
HSL
229°, 78%, 75%
CMYK
42, 34, 0, 6
Luminance
0.3638

Every format

HEX#8c9ef1
RGBrgb(140, 158, 241)
HSLhsl(229, 78%, 75%)
CMYKcmyk(42%, 34%, 0%, 6%)
LABlab(66.8 14.3 -43.6)
LCHlch(66.8 46.0 288.2)
OKLCHoklch(0.719 0.123 273.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c9ef1 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#8c9ef1 on black: 8.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green62.0%
Blue94.5%

CMYK percentages

Cyan41.9%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#8c9ef1 text on a black background

contrast 8.28:1

Card sample

#8c9ef1 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c9ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c9ef1 in the Color Lab