Skip to content

#5960ba

a balanced, soft blue · warm · closest name: slateblue

RGB
89, 96, 186
HSL
236°, 41%, 54%
CMYK
52, 48, 0, 27
Luminance
0.1403

Every format

HEX#5960ba
RGBrgb(89, 96, 186)
HSLhsl(236, 41%, 54%)
CMYKcmyk(52%, 48%, 0%, 27%)
LABlab(44.3 22.8 -48.5)
LCHlch(44.3 53.6 295.1)
OKLCHoklch(0.528 0.139 277.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5960ba on white: 5.52:1
AA ✓ pass · AA-large · AAA
Aa
#5960ba on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.9%
Green37.6%
Blue72.9%

CMYK percentages

Cyan52.2%
Magenta48.4%
Yellow0.0%
Key (black)27.1%

Color previews

#5960ba text on a black background

contrast 3.81:1

Card sample

#5960ba text on a white background

contrast 5.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5960ba;
Background color
Panel with #5960ba background
background-color: #5960ba;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5960ba;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(89, 96, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(89, 96, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5960ba;
background: linear-gradient(135deg, #5960ba, #9359BA);

Monochromatic scale

Palettes built from #5960ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5960ba in the Color Lab