#5960CE#5960CE

#5960CE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.167 H 276.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5960CE
RGBrgb(89, 96, 206)
HSLhsl(236, 54%, 58%)
HSVhsv(236, 57%, 81%)
CMYKcmyk(56.8%, 53.4%, 0%, 19.2%)
CIE-LABlab(45.56, 29.26, -58.05)
CIE-LCHlch(45.56, 65.01, 296.75°)
OKLaboklab(54.22% 0.019 -0.1662)
OKLCHoklch(54.22% 0.167 276.5)
XYZxyz(19.4397, 14.9444, 60.2407)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960CE #CEC759
analogous
#599BCE #5960CE #8C59CE
triadic
#5960CE #CE5960 #60CE59
tetradic
#5960CE #CE599B #CEC759 #59CE8C
square
#5960CE #CE599B #CEC759 #59CE8C
split-complementary
#5960CE #CE8C59 #9BCE59
monochromatic
#272D85 #353DB5 #5960CE #888DDC #B8BBEA

Accessibility & contrast

On white

5.26
#5960CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5960CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960CE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960CE#FFFFFF#000000##FFFFFF
##5960CE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#12798E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5960ce;
/* rgb */ color: rgb(89, 96, 206);
/* oklch */ color: oklch(54.2% 0.167 276.5);
Tailwind
colors: {
  custom: {
    50: '#918dde',
    500: '#5960ce',
    950: '#000000',
  },
}
SCSS
$custom: #5960ce;
$custom-light: #918dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5960ce",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 206
  },
  "hsl": {
    "h": 236.41,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.16731,
    "h": 276.5
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#5960CE
secondary
#D9D6AA
accent
#D54ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960CE

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

Preview Lab → · Contrast checker → · Palette generator →

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