Skip to content

#8ba2ff

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

RGB
139, 162, 255
HSL
228°, 100%, 77%
CMYK
46, 37, 0, 0
Luminance
0.3855

Every format

HEX#8ba2ff
RGBrgb(139, 162, 255)
HSLhsl(228, 100%, 77%)
CMYKcmyk(46%, 37%, 0%, 0%)
LABlab(68.4 15.8 -48.7)
LCHlch(68.4 51.2 287.9)
OKLCHoklch(0.734 0.137 272.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ba2ff on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#8ba2ff on black: 8.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green63.5%
Blue100.0%

CMYK percentages

Cyan45.5%
Magenta36.5%
Yellow0.0%
Key (black)0.0%

Color previews

#8ba2ff text on a black background

contrast 8.71:1

Card sample

#8ba2ff text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ba2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ba2ff in the Color Lab