#5962EE#5962EE

#5962EE is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.207 H 274.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5962EE
RGBrgb(89, 98, 238)
HSLhsl(236, 81%, 64%)
HSVhsv(236, 63%, 93%)
CMYKcmyk(62.6%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.30, 38.51, -71.77)
CIE-LCHlch(48.30, 81.45, 298.22°)
OKLaboklab(56.97% 0.0177 -0.2065)
OKLCHoklch(56.97% 0.207 274.9)
XYZxyz(23.9151, 17.0303, 82.8992)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962EE #EEE559
analogous
#59ADEE #5962EE #9B59EE
triadic
#5962EE #EE5962 #62EE59
tetradic
#5962EE #EE59AD #EEE559 #59EE9B
square
#5962EE #EE59AD #EEE559 #59EE9B
split-complementary
#5962EE #EE9B59 #ADEE59
monochromatic
#131DBA #212DE8 #5962EE #9197F4 #C8CBF9

Accessibility & contrast

On white

4.77
#5962EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5962EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962EE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962EE#FFFFFF#000000##FFFFFF
##5962EE1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5962ee;
/* rgb */ color: rgb(89, 98, 238);
/* oklch */ color: oklch(57.0% 0.207 274.9);
Tailwind
colors: {
  custom: {
    50: '#978ef4',
    500: '#5962ee',
    950: '#000000',
  },
}
SCSS
$custom: #5962ee;
$custom-light: #978ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5962ee",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 236.376,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.2073,
    "h": 274.9
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#5962EE
secondary
#EBE8B7
accent
#D108DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5962EE

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

Preview Lab → · Contrast checker → · Palette generator →

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