Skip to content

#8f9afd

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

RGB
143, 154, 253
HSL
234°, 97%, 78%
CMYK
44, 39, 0, 1
Luminance
0.3604

Every format

HEX#8f9afd
RGBrgb(143, 154, 253)
HSLhsl(234, 97%, 78%)
CMYKcmyk(44%, 39%, 0%, 1%)
LABlab(66.5 20.8 -50.6)
LCHlch(66.5 54.7 292.3)
OKLCHoklch(0.720 0.144 277.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f9afd on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#8f9afd on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green60.4%
Blue99.2%

CMYK percentages

Cyan43.5%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#8f9afd text on a black background

contrast 8.21:1

Card sample

#8f9afd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f9afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f9afd in the Color Lab