Skip to content

#8ba7fd

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

RGB
139, 167, 253
HSL
225°, 97%, 77%
CMYK
45, 34, 0, 1
Luminance
0.4022

Every format

HEX#8ba7fd
RGBrgb(139, 167, 253)
HSLhsl(225, 97%, 77%)
CMYKcmyk(45%, 34%, 0%, 1%)
LABlab(69.6 12.3 -45.8)
LCHlch(69.6 47.4 285.1)
OKLCHoklch(0.743 0.129 269.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ba7fd on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#8ba7fd on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green65.5%
Blue99.2%

CMYK percentages

Cyan45.1%
Magenta34.0%
Yellow0.0%
Key (black)0.8%

Color previews

#8ba7fd text on a black background

contrast 9.04:1

Card sample

#8ba7fd text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ba7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ba7fd in the Color Lab