#5960D7#5960D7

#5960D7 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.180 H 276.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5960D7
RGBrgb(89, 96, 215)
HSLhsl(237, 61%, 60%)
HSVhsv(237, 59%, 84%)
CMYKcmyk(58.6%, 55.3%, 0%, 15.7%)
CIE-LABlab(46.17, 32.19, -62.21)
CIE-LCHlch(46.17, 70.05, 297.36°)
OKLaboklab(54.87% 0.0194 -0.1785)
OKLCHoklch(54.87% 0.18 276.2)
XYZxyz(20.5645, 15.3944, 66.1645)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D7 #D7D059
analogous
#599FD7 #5960D7 #9159D7
triadic
#5960D7 #D75960 #60D759
tetradic
#5960D7 #D7599F #D7D059 #59D791
square
#5960D7 #D7599F #D7D059 #59D791
split-complementary
#5960D7 #D79159 #9FD759
monochromatic
#232992 #2F37C4 #5960D7 #8A8FE3 #BCBEEF

Accessibility & contrast

On white

5.15
#5960D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5960D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D7#FFFFFF#000000##FFFFFF
##5960D71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5960d7;
/* rgb */ color: rgb(89, 96, 215);
/* oklch */ color: oklch(54.9% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#938de4',
    500: '#5960d7',
    950: '#000000',
  },
}
SCSS
$custom: #5960d7;
$custom-light: #938de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d7",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 215
  },
  "hsl": {
    "h": 236.667,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.17951,
    "h": 276.2
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#5960D7
secondary
#DEDCAD
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960D7

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

Preview Lab → · Contrast checker → · Palette generator →

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