#5960D6#5960D6

#5960D6 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.178 H 276.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5960D6
RGBrgb(89, 96, 214)
HSLhsl(237, 60%, 59%)
HSVhsv(237, 58%, 84%)
CMYKcmyk(58.4%, 55.1%, 0%, 16.1%)
CIE-LABlab(46.10, 31.87, -61.75)
CIE-LCHlch(46.10, 69.49, 297.30°)
OKLaboklab(54.8% 0.0194 -0.1771)
OKLCHoklch(54.8% 0.178 276.2)
XYZxyz(20.4364, 15.3431, 65.4899)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D6 #D6CF59
analogous
#599FD6 #5960D6 #9159D6
triadic
#5960D6 #D65960 #60D659
tetradic
#5960D6 #D6599F #D6CF59 #59D691
square
#5960D6 #D6599F #D6CF59 #59D691
split-complementary
#5960D6 #D69159 #9FD659
monochromatic
#242A91 #3038C2 #5960D6 #8A8FE2 #BBBEEE

Accessibility & contrast

On white

5.16
#5960D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5960D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D6#FFFFFF#000000##FFFFFF
##5960D61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0273DA
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5960d6;
/* rgb */ color: rgb(89, 96, 214);
/* oklch */ color: oklch(54.8% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#938de3',
    500: '#5960d6',
    950: '#000000',
  },
}
SCSS
$custom: #5960d6;
$custom-light: #938de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d6",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 214
  },
  "hsl": {
    "h": 236.64,
    "s": 60.386,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.17816,
    "h": 276.2
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#5960D6
secondary
#DEDBAD
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960D6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5960D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva