#5960D8#5960D8

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

Color values

HEX#5960D8
RGBrgb(89, 96, 216)
HSLhsl(237, 62%, 60%)
HSVhsv(237, 59%, 85%)
CMYKcmyk(58.8%, 55.6%, 0%, 15.3%)
CIE-LABlab(46.24, 32.52, -62.67)
CIE-LCHlch(46.24, 70.61, 297.43°)
OKLaboklab(54.94% 0.0194 -0.1798)
OKLCHoklch(54.94% 0.181 276.2)
XYZxyz(20.6934, 15.4459, 66.8433)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D8 #D8D159
analogous
#599FD8 #5960D8 #9259D8
triadic
#5960D8 #D85960 #60D859
tetradic
#5960D8 #D8599F #D8D159 #59D892
square
#5960D8 #D8599F #D8D159 #59D892
split-complementary
#5960D8 #D89259 #9FD859
monochromatic
#232994 #2E37C5 #5960D8 #8B8FE4 #BCBFEF

Accessibility & contrast

On white

5.14
#5960D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5960D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D8#FFFFFF#000000##FFFFFF
##5960D81.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5960d8;
/* rgb */ color: rgb(89, 96, 216);
/* oklch */ color: oklch(54.9% 0.181 276.2);
Tailwind
colors: {
  custom: {
    50: '#938de5',
    500: '#5960d8',
    950: '#000000',
  },
}
SCSS
$custom: #5960d8;
$custom-light: #938de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d8",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 216
  },
  "hsl": {
    "h": 236.693,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.18085,
    "h": 276.2
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#5960D8
secondary
#DFDCAE
accent
#DC43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960D8

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

Preview Lab → · Contrast checker → · Palette generator →

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