Skip to content

#9c9cff

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

RGB
156, 156, 255
HSL
240°, 100%, 81%
CMYK
39, 39, 0, 0
Luminance
0.3806

Every format

HEX#9c9cff
RGBrgb(156, 156, 255)
HSLhsl(240, 100%, 81%)
CMYKcmyk(39%, 39%, 0%, 0%)
LABlab(68.1 23.4 -49.2)
LCHlch(68.1 54.5 295.4)
OKLCHoklch(0.734 0.142 282.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9c9cff on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#9c9cff on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green61.2%
Blue100.0%

CMYK percentages

Cyan38.8%
Magenta38.8%
Yellow0.0%
Key (black)0.0%

Color previews

#9c9cff text on a black background

contrast 8.61:1

Card sample

#9c9cff text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 156, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 156, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c9cff;
background: linear-gradient(135deg, #9c9cff, #DE9CFF);

Monochromatic scale

Palettes built from #9c9cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9c9cff in the Color Lab