Skip to content

#9faffe

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

RGB
159, 175, 254
HSL
230°, 98%, 81%
CMYK
37, 31, 0, 0
Luminance
0.4519

Every format

HEX#9faffe
RGBrgb(159, 175, 254)
HSLhsl(230, 98%, 81%)
CMYKcmyk(37%, 31%, 0%, 0%)
LABlab(73.0 13.1 -40.9)
LCHlch(73.0 43.0 287.8)
OKLCHoklch(0.772 0.115 274.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9faffe on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#9faffe on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green68.6%
Blue99.6%

CMYK percentages

Cyan37.4%
Magenta31.1%
Yellow0.0%
Key (black)0.4%

Color previews

#9faffe text on a black background

contrast 10.04:1

Card sample

#9faffe text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9faffe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9faffe in the Color Lab