#5960E7#5960E7

#5960E7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.1% C 0.201 H 275.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5960E7
RGBrgb(89, 96, 231)
HSLhsl(237, 75%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(61.5%, 58.4%, 0%, 9.4%)
CIE-LABlab(47.31, 37.43, -69.44)
CIE-LCHlch(47.31, 78.88, 298.33°)
OKLaboklab(56.08% 0.0195 -0.1997)
OKLCHoklch(56.08% 0.201 275.6)
XYZxyz(22.7218, 16.2573, 77.5264)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E7 #E7E059
analogous
#59A7E7 #5960E7 #9959E7
triadic
#5960E7 #E75960 #60E759
tetradic
#5960E7 #E759A7 #E7E059 #59E799
square
#5960E7 #E759A7 #E7E059 #59E799
split-complementary
#5960E7 #E79959 #A7E759
monochromatic
#1920AD #242DDF #5960E7 #8E93EF #C4C6F6

Accessibility & contrast

On white

4.94
#5960E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5960E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E7#FFFFFF#000000##FFFFFF
##5960E71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5960e7;
/* rgb */ color: rgb(89, 96, 231);
/* oklch */ color: oklch(56.1% 0.201 275.6);
Tailwind
colors: {
  custom: {
    50: '#958df0',
    500: '#5960e7',
    950: '#000000',
  },
}
SCSS
$custom: #5960e7;
$custom-light: #958df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e7",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 237.042,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.20065,
    "h": 275.6
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#5960E7
secondary
#E8E5B4
accent
#CD0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5960E7

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

Preview Lab → · Contrast checker → · Palette generator →

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