Skip to content

#9db2fd

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

RGB
157, 178, 253
HSL
227°, 96%, 80%
CMYK
38, 30, 0, 1
Luminance
0.4610

Every format

HEX#9db2fd
RGBrgb(157, 178, 253)
HSLhsl(227, 96%, 80%)
CMYKcmyk(38%, 30%, 0%, 1%)
LABlab(73.6 10.7 -39.5)
LCHlch(73.6 40.9 285.1)
OKLCHoklch(0.776 0.110 271.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9db2fd on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#9db2fd on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green69.8%
Blue99.2%

CMYK percentages

Cyan37.9%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#9db2fd text on a black background

contrast 10.22:1

Card sample

#9db2fd text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9db2fd;
Background color
Panel with #9db2fd background
background-color: #9db2fd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 178, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 178, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9db2fd;
background: linear-gradient(135deg, #9db2fd, #C89DFD);

Monochromatic scale

Palettes built from #9db2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9db2fd in the Color Lab