Skip to content

#8ba4cf

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

RGB
139, 164, 207
HSL
218°, 42%, 68%
CMYK
33, 21, 0, 19
Luminance
0.3654

Every format

HEX#8ba4cf
RGBrgb(139, 164, 207)
HSLhsl(218, 42%, 68%)
CMYKcmyk(33%, 21%, 0%, 19%)
LABlab(66.9 1.5 -24.7)
LCHlch(66.9 24.8 273.5)
OKLCHoklch(0.715 0.069 261.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ba4cf on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#8ba4cf on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green64.3%
Blue81.2%

CMYK percentages

Cyan32.9%
Magenta20.8%
Yellow0.0%
Key (black)18.8%

Color previews

#8ba4cf text on a black background

contrast 8.31:1

Card sample

#8ba4cf text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8ba4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ba4cf in the Color Lab