#5960DF#5960DF

#5960DF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.190 H 275.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5960DF
RGBrgb(89, 96, 223)
HSLhsl(237, 68%, 61%)
HSVhsv(237, 60%, 87%)
CMYKcmyk(60.1%, 57%, 0%, 12.5%)
CIE-LABlab(46.73, 34.81, -65.85)
CIE-LCHlch(46.73, 74.49, 297.86°)
OKLaboklab(55.47% 0.0195 -0.1892)
OKLCHoklch(55.47% 0.19 275.9)
XYZxyz(21.6176, 15.8156, 71.7113)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960DF #DFD859
analogous
#59A3DF #5960DF #9559DF
triadic
#5960DF #DF5960 #60DF59
tetradic
#5960DF #DF59A3 #DFD859 #59DF95
square
#5960DF #DF59A3 #DFD859 #59DF95
split-complementary
#5960DF #DF9559 #A3DF59
monochromatic
#1F259F #2931D2 #5960DF #8C91E9 #C0C2F3

Accessibility & contrast

On white

5.04
#5960DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5960DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960DF#FFFFFF#000000##FFFFFF
##5960DF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5960df;
/* rgb */ color: rgb(89, 96, 223);
/* oklch */ color: oklch(55.5% 0.190 275.9);
Tailwind
colors: {
  custom: {
    50: '#948dea',
    500: '#5960df',
    950: '#000000',
  },
}
SCSS
$custom: #5960df;
$custom-light: #948dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5960df",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 236.866,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55465,
    "c": 0.19016,
    "h": 275.9
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#5960DF
secondary
#E3E0B1
accent
#C616D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960DF

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

Preview Lab → · Contrast checker → · Palette generator →

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