Skip to content

#9b8df9

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

RGB
155, 141, 249
HSL
248°, 90%, 77%
CMYK
38, 43, 0, 2
Luminance
0.3286

Every format

HEX#9b8df9
RGBrgb(155, 141, 249)
HSLhsl(248, 90%, 77%)
CMYKcmyk(38%, 43%, 0%, 2%)
LABlab(64.0 30.1 -52.3)
LCHlch(64.0 60.4 299.9)
OKLCHoklch(0.702 0.155 287.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b8df9 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#9b8df9 on black: 7.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green55.3%
Blue97.6%

CMYK percentages

Cyan37.8%
Magenta43.4%
Yellow0.0%
Key (black)2.4%

Color previews

#9b8df9 text on a black background

contrast 7.57:1

Card sample

#9b8df9 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8df9 in the Color Lab