Skip to content

#9faff1

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

RGB
159, 175, 241
HSL
228°, 75%, 78%
CMYK
34, 27, 0, 6
Luminance
0.4438

Every format

HEX#9faff1
RGBrgb(159, 175, 241)
HSLhsl(228, 75%, 78%)
CMYKcmyk(34%, 27%, 0%, 6%)
LABlab(72.5 9.8 -34.7)
LCHlch(72.5 36.0 285.7)
OKLCHoklch(0.766 0.097 273.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9faff1 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#9faff1 on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green68.6%
Blue94.5%

CMYK percentages

Cyan34.0%
Magenta27.4%
Yellow0.0%
Key (black)5.5%

Color previews

#9faff1 text on a black background

contrast 9.88:1

Card sample

#9faff1 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9faff1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9faff1 in the Color Lab