#5960E1#5960E1

#5960E1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.193 H 275.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5960E1
RGBrgb(89, 96, 225)
HSLhsl(237, 69%, 62%)
HSVhsv(237, 60%, 88%)
CMYKcmyk(60.4%, 57.3%, 0%, 11.8%)
CIE-LABlab(46.87, 35.47, -66.75)
CIE-LCHlch(46.87, 75.59, 297.98°)
OKLaboklab(55.62% 0.0195 -0.1918)
OKLCHoklch(55.62% 0.193 275.8)
XYZxyz(21.8889, 15.9241, 73.1397)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E1 #E1DA59
analogous
#59A4E1 #5960E1 #9659E1
triadic
#5960E1 #E15960 #60E159
tetradic
#5960E1 #E159A4 #E1DA59 #59E196
square
#5960E1 #E159A4 #E1DA59 #59E196
split-complementary
#5960E1 #E19659 #A4E159
monochromatic
#1D24A2 #2730D6 #5960E1 #8D92EA #C1C3F4

Accessibility & contrast

On white

5.02
#5960E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5960E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E1#FFFFFF#000000##FFFFFF
##5960E11.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5960e1;
/* rgb */ color: rgb(89, 96, 225);
/* oklch */ color: oklch(55.6% 0.193 275.8);
Tailwind
colors: {
  custom: {
    50: '#948deb',
    500: '#5960e1',
    950: '#000000',
  },
}
SCSS
$custom: #5960e1;
$custom-light: #948deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e1",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 236.912,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.1928,
    "h": 275.8
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#5960E1
secondary
#E4E2B2
accent
#C814D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960E1

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

Preview Lab → · Contrast checker → · Palette generator →

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