Skip to content

#8cb2f0

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

RGB
140, 178, 240
HSL
217°, 77%, 75%
CMYK
42, 26, 0, 6
Luminance
0.4371

Every format

HEX#8cb2f0
RGBrgb(140, 178, 240)
HSLhsl(217, 77%, 75%)
CMYKcmyk(42%, 26%, 0%, 6%)
LABlab(72.0 2.8 -35.0)
LCHlch(72.0 35.1 274.5)
OKLCHoklch(0.759 0.099 260.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cb2f0 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#8cb2f0 on black: 9.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green69.8%
Blue94.1%

CMYK percentages

Cyan41.7%
Magenta25.8%
Yellow0.0%
Key (black)5.9%

Color previews

#8cb2f0 text on a black background

contrast 9.74:1

Card sample

#8cb2f0 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 178, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 178, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cb2f0;
background: linear-gradient(135deg, #8cb2f0, #A98CF0);

Monochromatic scale

Palettes built from #8cb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cb2f0 in the Color Lab