#5960D2#5960D2

#5960D2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.173 H 276.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5960D2
RGBrgb(89, 96, 210)
HSLhsl(237, 57%, 59%)
HSVhsv(237, 58%, 82%)
CMYKcmyk(57.6%, 54.3%, 0%, 17.6%)
CIE-LABlab(45.83, 30.56, -59.91)
CIE-LCHlch(45.83, 67.25, 297.03°)
OKLaboklab(54.5% 0.0192 -0.1717)
OKLCHoklch(54.5% 0.173 276.4)
XYZxyz(19.9318, 15.1413, 62.8325)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D2 #D2CB59
analogous
#599CD2 #5960D2 #8E59D2
triadic
#5960D2 #D25960 #60D259
tetradic
#5960D2 #D2599C #D2CB59 #59D28E
square
#5960D2 #D2599C #D2CB59 #59D28E
split-complementary
#5960D2 #D28E59 #9CD259
monochromatic
#262C8B #333BBB #5960D2 #898EDF #B9BCEC

Accessibility & contrast

On white

5.21
#5960D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5960D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D2#FFFFFF#000000##FFFFFF
##5960D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#047A90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5960d2;
/* rgb */ color: rgb(89, 96, 210);
/* oklch */ color: oklch(54.5% 0.173 276.4);
Tailwind
colors: {
  custom: {
    50: '#928de0',
    500: '#5960d2',
    950: '#000000',
  },
}
SCSS
$custom: #5960d2;
$custom-light: #928de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d2",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 236.529,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.17276,
    "h": 276.4
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#5960D2
secondary
#DBD9AB
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960D2

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

Preview Lab → · Contrast checker → · Palette generator →

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