#5960E2#5960E2

#5960E2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.7% C 0.194 H 275.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5960E2
RGBrgb(89, 96, 226)
HSLhsl(237, 70%, 62%)
HSVhsv(237, 61%, 89%)
CMYKcmyk(60.6%, 57.5%, 0%, 11.4%)
CIE-LABlab(46.95, 35.79, -67.20)
CIE-LCHlch(46.95, 76.14, 298.04°)
OKLaboklab(55.69% 0.0195 -0.1931)
OKLCHoklch(55.69% 0.194 275.8)
XYZxyz(22.0257, 15.9788, 73.8603)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E2 #E2DB59
analogous
#59A5E2 #5960E2 #9759E2
triadic
#5960E2 #E25960 #60E259
tetradic
#5960E2 #E259A5 #E2DB59 #59E297
square
#5960E2 #E259A5 #E2DB59 #59E297
split-complementary
#5960E2 #E29759 #A5E259
monochromatic
#1D24A4 #262FD8 #5960E2 #8D92EB #C1C4F4

Accessibility & contrast

On white

5.00
#5960E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5960E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E2#FFFFFF#000000##FFFFFF
##5960E21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5960e2;
/* rgb */ color: rgb(89, 96, 226);
/* oklch */ color: oklch(55.7% 0.194 275.8);
Tailwind
colors: {
  custom: {
    50: '#958dec',
    500: '#5960e2',
    950: '#000000',
  },
}
SCSS
$custom: #5960e2;
$custom-light: #958dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e2",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 236.934,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.19411,
    "h": 275.8
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#5960E2
secondary
#E5E2B2
accent
#C813D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960E2

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

Preview Lab → · Contrast checker → · Palette generator →

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