#5960EB#5960EB

#5960EB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.206 H 275.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5960EB
RGBrgb(89, 96, 235)
HSLhsl(237, 78%, 64%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(62.1%, 59.1%, 0%, 7.8%)
CIE-LABlab(47.61, 38.73, -71.21)
CIE-LCHlch(47.61, 81.06, 298.54°)
OKLaboklab(56.39% 0.0194 -0.2049)
OKLCHoklch(56.39% 0.206 275.4)
XYZxyz(23.2932, 16.4858, 80.5357)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960EB #EBE459
analogous
#59A9EB #5960EB #9B59EB
triadic
#5960EB #EB5960 #60EB59
tetradic
#5960EB #EB59A9 #EBE459 #59EB9B
square
#5960EB #EB59A9 #EBE459 #59EB9B
split-complementary
#5960EB #EB9B59 #A9EB59
monochromatic
#161DB4 #222CE4 #5960EB #9094F2 #C6C9F8

Accessibility & contrast

On white

4.89
#5960EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5960EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960EB#FFFFFF#000000##FFFFFF
##5960EB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5960eb;
/* rgb */ color: rgb(89, 96, 235);
/* oklch */ color: oklch(56.4% 0.206 275.4);
Tailwind
colors: {
  custom: {
    50: '#968df2',
    500: '#5960eb',
    950: '#000000',
  },
}
SCSS
$custom: #5960eb;
$custom-light: #968df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5960eb",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 237.123,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.20583,
    "h": 275.4
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#5960EB
secondary
#EAE7B6
accent
#D10BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5960EB

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

Preview Lab → · Contrast checker → · Palette generator →

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