#5960E8#5960E8

#5960E8 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.2% C 0.202 H 275.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5960E8
RGBrgb(89, 96, 232)
HSLhsl(237, 76%, 63%)
HSVhsv(237, 62%, 91%)
CMYKcmyk(61.6%, 58.6%, 0%, 9%)
CIE-LABlab(47.38, 37.75, -69.88)
CIE-LCHlch(47.38, 79.43, 298.38°)
OKLaboklab(56.15% 0.0195 -0.201)
OKLCHoklch(56.15% 0.202 275.5)
XYZxyz(22.8634, 16.3139, 78.2723)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E8 #E8E159
analogous
#59A7E8 #5960E8 #9959E8
triadic
#5960E8 #E85960 #60E859
tetradic
#5960E8 #E859A7 #E8E159 #59E899
square
#5960E8 #E859A7 #E8E159 #59E899
split-complementary
#5960E8 #E89959 #A7E859
monochromatic
#1820AE #232DE1 #5960E8 #8F93EF #C5C7F7

Accessibility & contrast

On white

4.93
#5960E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5960E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E8#FFFFFF#000000##FFFFFF
##5960E81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5960e8;
/* rgb */ color: rgb(89, 96, 232);
/* oklch */ color: oklch(56.2% 0.202 275.5);
Tailwind
colors: {
  custom: {
    50: '#968df0',
    500: '#5960e8',
    950: '#000000',
  },
}
SCSS
$custom: #5960e8;
$custom-light: #968df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e8",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 237.063,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.20195,
    "h": 275.5
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#5960E8
secondary
#E8E6B5
accent
#CE0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5960E8

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

Preview Lab → · Contrast checker → · Palette generator →

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