#5960CA#5960CA

#5960CA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.162 H 276.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5960CA
RGBrgb(89, 96, 202)
HSLhsl(236, 52%, 57%)
HSVhsv(236, 56%, 79%)
CMYKcmyk(55.9%, 52.5%, 0%, 20.8%)
CIE-LABlab(45.29, 27.95, -56.18)
CIE-LCHlch(45.29, 62.75, 296.45°)
OKLaboklab(53.93% 0.0188 -0.1607)
OKLCHoklch(53.93% 0.162 276.7)
XYZxyz(18.9600, 14.7525, 57.7141)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960CA #CAC359
analogous
#5999CA #5960CA #8B59CA
triadic
#5960CA #CA5960 #60CA59
tetradic
#5960CA #CA5999 #CAC359 #59CA8B
square
#5960CA #CA5999 #CAC359 #59CA8B
split-complementary
#5960CA #CA8B59 #99CA59
monochromatic
#292E80 #383FAE #5960CA #878CD9 #B6B9E8

Accessibility & contrast

On white

5.32
#5960CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5960CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960CA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960CA#FFFFFF#000000##FFFFFF
##5960CA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#1B788C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5960ca;
/* rgb */ color: rgb(89, 96, 202);
/* oklch */ color: oklch(53.9% 0.162 276.7);
Tailwind
colors: {
  custom: {
    50: '#918ddb',
    500: '#5960ca',
    950: '#000000',
  },
}
SCSS
$custom: #5960ca;
$custom-light: #918ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5960ca",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 236.283,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53934,
    "c": 0.16181,
    "h": 276.7
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#5960CA
secondary
#D6D4A8
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960CA

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

Preview Lab → · Contrast checker → · Palette generator →

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