#5960EE#5960EE

#5960EE is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.210 H 275.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5960EE
RGBrgb(89, 96, 238)
HSLhsl(237, 81%, 64%)
HSVhsv(237, 63%, 93%)
CMYKcmyk(62.6%, 59.7%, 0%, 6.7%)
CIE-LABlab(47.83, 39.71, -72.53)
CIE-LCHlch(47.83, 82.69, 298.70°)
OKLaboklab(56.62% 0.0194 -0.2088)
OKLCHoklch(56.62% 0.21 275.3)
XYZxyz(23.7303, 16.6607, 82.8376)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960EE #EEE759
analogous
#59ABEE #5960EE #9D59EE
triadic
#5960EE #EE5960 #60EE59
tetradic
#5960EE #EE59AB #EEE759 #59EE9D
square
#5960EE #EE59AB #EEE759 #59EE9D
split-complementary
#5960EE #EE9D59 #ABEE59
monochromatic
#131BBA #212BE8 #5960EE #9195F4 #C8CAF9

Accessibility & contrast

On white

4.85
#5960EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5960EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960EE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960EE#FFFFFF#000000##FFFFFF
##5960EE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5960ee;
/* rgb */ color: rgb(89, 96, 238);
/* oklch */ color: oklch(56.6% 0.210 275.3);
Tailwind
colors: {
  custom: {
    50: '#978df5',
    500: '#5960ee',
    950: '#000000',
  },
}
SCSS
$custom: #5960ee;
$custom-light: #978df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5960ee",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 238
  },
  "hsl": {
    "h": 237.181,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.20969,
    "h": 275.3
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#5960EE
secondary
#EBE9B7
accent
#D408DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5960EE

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

Preview Lab → · Contrast checker → · Palette generator →

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