Skip to content

#5955ff

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

RGB
89, 85, 255
HSL
241°, 100%, 67%
CMYK
65, 67, 0, 0
Luminance
0.1584

Every format

HEX#5955ff
RGBrgb(89, 85, 255)
HSLhsl(241, 100%, 67%)
CMYKcmyk(65%, 67%, 0%, 0%)
LABlab(46.8 51.6 -83.8)
LCHlch(46.8 98.4 301.6)
OKLCHoklch(0.563 0.243 276.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5955ff on white: 5.04:1
AA ✓ pass · AA-large · AAA
Aa
#5955ff on black: 4.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.9%
Green33.3%
Blue100.0%

CMYK percentages

Cyan65.1%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#5955ff text on a black background

contrast 4.17:1

Card sample

#5955ff text on a white background

contrast 5.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5955ff;
Background color
Panel with #5955ff background
background-color: #5955ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5955ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5955ff;
background: linear-gradient(135deg, #5955ff, #CA55FF);

Monochromatic scale

Palettes built from #5955ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5955ff in the Color Lab