Skip to content

#9fa4eb

a light, vivid blue · warm · closest name: plum

RGB
159, 164, 235
HSL
236°, 66%, 77%
CMYK
32, 30, 0, 8
Luminance
0.3992

Every format

HEX#9fa4eb
RGBrgb(159, 164, 235)
HSLhsl(236, 66%, 77%)
CMYKcmyk(32%, 30%, 0%, 8%)
LABlab(69.4 14.4 -36.2)
LCHlch(69.4 39.0 291.7)
OKLCHoklch(0.742 0.102 280.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fa4eb on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#9fa4eb on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green64.3%
Blue92.2%

CMYK percentages

Cyan32.3%
Magenta30.2%
Yellow0.0%
Key (black)7.8%

Color previews

#9fa4eb text on a black background

contrast 8.98:1

Card sample

#9fa4eb text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 164, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 164, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fa4eb;
background: linear-gradient(135deg, #9fa4eb, #CD9FEB);

Monochromatic scale

Palettes built from #9fa4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fa4eb in the Color Lab