Skip to content

#8faff5

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

RGB
143, 175, 245
HSL
221°, 84%, 76%
CMYK
42, 29, 0, 4
Luminance
0.4309

Every format

HEX#8faff5
RGBrgb(143, 175, 245)
HSLhsl(221, 84%, 76%)
CMYKcmyk(42%, 29%, 0%, 4%)
LABlab(71.6 6.6 -38.3)
LCHlch(71.6 38.9 279.7)
OKLCHoklch(0.757 0.107 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red56.1%
Green68.6%
Blue96.1%

CMYK percentages

Cyan41.6%
Magenta28.6%
Yellow0.0%
Key (black)3.9%

Color previews

#8faff5 text on a black background

contrast 9.62:1

Card sample

#8faff5 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8faff5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8faff5 in the Color Lab