#5960CD#5960CD

#5960CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.166 H 276.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5960CD
RGBrgb(89, 96, 205)
HSLhsl(236, 54%, 58%)
HSVhsv(236, 57%, 80%)
CMYKcmyk(56.6%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.49, 28.93, -57.59)
CIE-LCHlch(45.49, 64.44, 296.67°)
OKLaboklab(54.15% 0.019 -0.1648)
OKLCHoklch(54.15% 0.166 276.6)
XYZxyz(19.3186, 14.8960, 59.6030)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960CD #CDC659
analogous
#599ACD #5960CD #8C59CD
triadic
#5960CD #CD5960 #60CD59
tetradic
#5960CD #CD599A #CDC659 #59CD8C
square
#5960CD #CD599A #CDC659 #59CD8C
split-complementary
#5960CD #CD8C59 #9ACD59
monochromatic
#282D84 #363DB3 #5960CD #888DDB #B7BAE9

Accessibility & contrast

On white

5.28
#5960CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5960CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960CD#FFFFFF#000000##FFFFFF
##5960CD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#15798D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5960cd;
/* rgb */ color: rgb(89, 96, 205);
/* oklch */ color: oklch(54.1% 0.166 276.6);
Tailwind
colors: {
  custom: {
    50: '#918ddd',
    500: '#5960cd',
    950: '#000000',
  },
}
SCSS
$custom: #5960cd;
$custom-light: #918ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5960cd",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 236.379,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.16594,
    "h": 276.6
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#5960CD
secondary
#D8D5AA
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960CD

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

Preview Lab → · Contrast checker → · Palette generator →

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