#5960EA#5960EA

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

Color values

HEX#5960EA
RGBrgb(89, 96, 234)
HSLhsl(237, 78%, 63%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(62%, 59%, 0%, 8.2%)
CIE-LABlab(47.53, 38.41, -70.77)
CIE-LCHlch(47.53, 80.52, 298.49°)
OKLaboklab(56.31% 0.0194 -0.2036)
OKLCHoklch(56.31% 0.205 275.5)
XYZxyz(23.1491, 16.4282, 79.7770)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960EA #EAE359
analogous
#59A9EA #5960EA #9A59EA
triadic
#5960EA #EA5960 #60EA59
tetradic
#5960EA #EA59A9 #EAE359 #59EA9A
square
#5960EA #EA59A9 #EAE359 #59EA9A
split-complementary
#5960EA #EA9A59 #A9EA59
monochromatic
#171EB2 #232CE3 #5960EA #8F94F1 #C6C8F8

Accessibility & contrast

On white

4.90
#5960EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5960EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960EA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960EA#FFFFFF#000000##FFFFFF
##5960EA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5960ea;
/* rgb */ color: rgb(89, 96, 234);
/* oklch */ color: oklch(56.3% 0.205 275.5);
Tailwind
colors: {
  custom: {
    50: '#968df2',
    500: '#5960ea',
    950: '#000000',
  },
}
SCSS
$custom: #5960ea;
$custom-light: #968df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5960ea",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 237.103,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.20454,
    "h": 275.5
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#5960EA
secondary
#E9E7B6
accent
#D00CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5960EA

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

Preview Lab → · Contrast checker → · Palette generator →

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