Skip to content

#8ba2fc

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

RGB
139, 162, 252
HSL
228°, 95%, 77%
CMYK
45, 36, 0, 1
Luminance
0.3836

Every format

HEX#8ba2fc
RGBrgb(139, 162, 252)
HSLhsl(228, 95%, 77%)
CMYKcmyk(45%, 36%, 0%, 1%)
LABlab(68.3 14.9 -47.3)
LCHlch(68.3 49.6 287.5)
OKLCHoklch(0.732 0.133 271.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ba2fc on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#8ba2fc on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green63.5%
Blue98.8%

CMYK percentages

Cyan44.8%
Magenta35.7%
Yellow0.0%
Key (black)1.2%

Color previews

#8ba2fc text on a black background

contrast 8.67:1

Card sample

#8ba2fc text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ba2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ba2fc in the Color Lab