#5960D1#5960D1

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

Color values

HEX#5960D1
RGBrgb(89, 96, 209)
HSLhsl(237, 57%, 58%)
HSVhsv(237, 57%, 82%)
CMYKcmyk(57.4%, 54.1%, 0%, 18%)
CIE-LABlab(45.76, 30.23, -59.45)
CIE-LCHlch(45.76, 66.69, 296.96°)
OKLaboklab(54.43% 0.0192 -0.1703)
OKLCHoklch(54.43% 0.171 276.4)
XYZxyz(19.8076, 15.0916, 62.1784)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D1 #D1CA59
analogous
#599CD1 #5960D1 #8E59D1
triadic
#5960D1 #D15960 #60D159
tetradic
#5960D1 #D1599C #D1CA59 #59D18E
square
#5960D1 #D1599C #D1CA59 #59D18E
split-complementary
#5960D1 #D18E59 #9CD159
monochromatic
#262C89 #333BB9 #5960D1 #898EDE #B9BCEC

Accessibility & contrast

On white

5.23
#5960D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5960D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D1#FFFFFF#000000##FFFFFF
##5960D11.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1571D5
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#087A8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5960d1;
/* rgb */ color: rgb(89, 96, 209);
/* oklch */ color: oklch(54.4% 0.171 276.4);
Tailwind
colors: {
  custom: {
    50: '#928de0',
    500: '#5960d1',
    950: '#000000',
  },
}
SCSS
$custom: #5960d1;
$custom-light: #928de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d1",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 209
  },
  "hsl": {
    "h": 236.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.1714,
    "h": 276.4
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#5960D1
secondary
#DBD8AB
accent
#D748E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960D1

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

Preview Lab → · Contrast checker → · Palette generator →

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