Skip to content

#9b8df0

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

RGB
155, 141, 240
HSL
249°, 77%, 75%
CMYK
35, 41, 0, 6
Luminance
0.3231

Every format

HEX#9b8df0
RGBrgb(155, 141, 240)
HSLhsl(249, 77%, 75%)
CMYKcmyk(35%, 41%, 0%, 6%)
LABlab(63.6 27.7 -48.1)
LCHlch(63.6 55.5 300.0)
OKLCHoklch(0.697 0.143 288.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b8df0 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#9b8df0 on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green55.3%
Blue94.1%

CMYK percentages

Cyan35.4%
Magenta41.3%
Yellow0.0%
Key (black)5.9%

Color previews

#9b8df0 text on a black background

contrast 7.46:1

Card sample

#9b8df0 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8df0 in the Color Lab