Skip to content

#8ba4df

a light, vivid blue · cool · closest name: steelblue

RGB
139, 164, 223
HSL
222°, 57%, 71%
CMYK
38, 27, 0, 13
Luminance
0.3737

Every format

HEX#8ba4df
RGBrgb(139, 164, 223)
HSLhsl(222, 57%, 71%)
CMYKcmyk(38%, 27%, 0%, 13%)
LABlab(67.5 5.7 -32.6)
LCHlch(67.5 33.1 280.0)
OKLCHoklch(0.722 0.091 266.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ba4df on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#8ba4df on black: 8.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green64.3%
Blue87.5%

CMYK percentages

Cyan37.7%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#8ba4df text on a black background

contrast 8.47:1

Card sample

#8ba4df text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ba4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ba4df in the Color Lab