#5960E9#5960E9

#5960E9 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.2% C 0.203 H 275.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5960E9
RGBrgb(89, 96, 233)
HSLhsl(237, 77%, 63%)
HSVhsv(237, 62%, 91%)
CMYKcmyk(61.8%, 58.8%, 0%, 8.6%)
CIE-LABlab(47.46, 38.08, -70.32)
CIE-LCHlch(47.46, 79.97, 298.44°)
OKLaboklab(56.23% 0.0195 -0.2023)
OKLCHoklch(56.23% 0.203 275.5)
XYZxyz(23.0059, 16.3709, 79.0225)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E9 #E9E259
analogous
#59A8E9 #5960E9 #9A59E9
triadic
#5960E9 #E95960 #60E959
tetradic
#5960E9 #E959A8 #E9E259 #59E99A
square
#5960E9 #E959A8 #E9E259 #59E99A
split-complementary
#5960E9 #E99A59 #A8E959
monochromatic
#171FB0 #232CE2 #5960E9 #8F94F0 #C5C8F7

Accessibility & contrast

On white

4.91
#5960E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5960E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E9#FFFFFF#000000##FFFFFF
##5960E91.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5960e9;
/* rgb */ color: rgb(89, 96, 233);
/* oklch */ color: oklch(56.2% 0.203 275.5);
Tailwind
colors: {
  custom: {
    50: '#968df1',
    500: '#5960e9',
    950: '#000000',
  },
}
SCSS
$custom: #5960e9;
$custom-light: #968df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e9",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 237.083,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.20324,
    "h": 275.5
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#5960E9
secondary
#E9E6B5
accent
#CF0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5960E9

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

Preview Lab → · Contrast checker → · Palette generator →

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