#5962ED#5962ED

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

Color values

HEX#5962ED
RGBrgb(89, 98, 237)
HSLhsl(236, 80%, 64%)
HSVhsv(236, 62%, 93%)
CMYKcmyk(62.4%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.22, 38.18, -71.33)
CIE-LCHlch(48.22, 80.90, 298.16°)
OKLaboklab(56.89% 0.0177 -0.2052)
OKLCHoklch(56.89% 0.206 274.9)
XYZxyz(23.7685, 16.9717, 82.1277)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962ED #EDE459
analogous
#59ACED #5962ED #9A59ED
triadic
#5962ED #ED5962 #62ED59
tetradic
#5962ED #ED59AC #EDE459 #59ED9A
square
#5962ED #ED59AC #EDE459 #59ED9A
split-complementary
#5962ED #ED9A59 #ACED59
monochromatic
#141EB8 #222EE7 #5962ED #9096F3 #C7CAF9

Accessibility & contrast

On white

4.78
#5962ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5962ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962ED
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962ED#FFFFFF#000000##FFFFFF
##5962ED1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5962ed;
/* rgb */ color: rgb(89, 98, 237);
/* oklch */ color: oklch(56.9% 0.206 274.9);
Tailwind
colors: {
  custom: {
    50: '#968ef4',
    500: '#5962ed',
    950: '#000000',
  },
}
SCSS
$custom: #5962ed;
$custom-light: #968ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5962ed",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 236.351,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.206,
    "h": 274.9
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5962ED

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

Preview Lab → · Contrast checker → · Palette generator →

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