#5960E6#5960E6

#5960E6 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.199 H 275.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5960E6
RGBrgb(89, 96, 230)
HSLhsl(237, 74%, 63%)
HSVhsv(237, 61%, 90%)
CMYKcmyk(61.3%, 58.3%, 0%, 9.8%)
CIE-LABlab(47.24, 37.10, -68.99)
CIE-LCHlch(47.24, 78.33, 298.27°)
OKLaboklab(56% 0.0195 -0.1984)
OKLCHoklch(56% 0.199 275.6)
XYZxyz(22.5810, 16.2010, 76.7847)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E6 #E6DF59
analogous
#59A7E6 #5960E6 #9859E6
triadic
#5960E6 #E65960 #60E659
tetradic
#5960E6 #E659A7 #E6DF59 #59E698
square
#5960E6 #E659A7 #E6DF59 #59E698
split-complementary
#5960E6 #E69859 #A7E659
monochromatic
#1A21AB #242DDE #5960E6 #8E93EE #C3C6F6

Accessibility & contrast

On white

4.95
#5960E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5960E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E6#FFFFFF#000000##FFFFFF
##5960E61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5960e6;
/* rgb */ color: rgb(89, 96, 230);
/* oklch */ color: oklch(56.0% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#958def',
    500: '#5960e6',
    950: '#000000',
  },
}
SCSS
$custom: #5960e6;
$custom-light: #958def;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e6",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 237.021,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.19935,
    "h": 275.6
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#5960E6
secondary
#E7E4B4
accent
#CC10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5960E6

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

Preview Lab → · Contrast checker → · Palette generator →

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