Skip to content

#8facfc

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

RGB
143, 172, 252
HSL
224°, 95%, 78%
CMYK
43, 32, 0, 1
Luminance
0.4237

Every format

HEX#8facfc
RGBrgb(143, 172, 252)
HSLhsl(224, 95%, 78%)
CMYKcmyk(43%, 32%, 0%, 1%)
LABlab(71.1 10.2 -42.9)
LCHlch(71.1 44.1 283.4)
OKLCHoklch(0.755 0.120 268.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8facfc on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#8facfc on black: 9.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green67.5%
Blue98.8%

CMYK percentages

Cyan43.3%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#8facfc text on a black background

contrast 9.47:1

Card sample

#8facfc text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8facfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8facfc in the Color Lab