Skip to content

#9bacfc

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

RGB
155, 172, 252
HSL
230°, 94%, 80%
CMYK
39, 32, 0, 1
Luminance
0.4350

Every format

HEX#9bacfc
RGBrgb(155, 172, 252)
HSLhsl(230, 94%, 80%)
CMYKcmyk(39%, 32%, 0%, 1%)
LABlab(71.9 13.3 -41.6)
LCHlch(71.9 43.7 287.7)
OKLCHoklch(0.762 0.117 274.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9bacfc on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#9bacfc on black: 9.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green67.5%
Blue98.8%

CMYK percentages

Cyan38.5%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#9bacfc text on a black background

contrast 9.70:1

Card sample

#9bacfc text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 172, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 172, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9bacfc;
background: linear-gradient(135deg, #9bacfc, #CB9BFC);

Monochromatic scale

Palettes built from #9bacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9bacfc in the Color Lab