#5962EA#5962EA

#5962EA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.7% C 0.202 H 275.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5962EA
RGBrgb(89, 98, 234)
HSLhsl(236, 78%, 63%)
HSVhsv(236, 62%, 92%)
CMYKcmyk(62%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.00, 37.20, -70.00)
CIE-LCHlch(48.00, 79.27, 297.99°)
OKLaboklab(56.66% 0.0177 -0.2013)
OKLCHoklch(56.66% 0.202 275)
XYZxyz(23.3339, 16.7978, 79.8386)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962EA #EAE159
analogous
#59AAEA #5962EA #9859EA
triadic
#5962EA #EA5962 #62EA59
tetradic
#5962EA #EA59AA #EAE159 #59EA98
square
#5962EA #EA59AA #EAE159 #59EA98
split-complementary
#5962EA #EA9859 #AAEA59
monochromatic
#1720B2 #232FE3 #5962EA #8F95F1 #C6C9F8

Accessibility & contrast

On white

4.82
#5962EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5962EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962EA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962EA#FFFFFF#000000##FFFFFF
##5962EA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5962ea;
/* rgb */ color: rgb(89, 98, 234);
/* oklch */ color: oklch(56.7% 0.202 275.0);
Tailwind
colors: {
  custom: {
    50: '#968ef2',
    500: '#5962ea',
    950: '#000000',
  },
}
SCSS
$custom: #5962ea;
$custom-light: #968ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5962ea",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 236.276,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.20212,
    "h": 275
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#5962EA
secondary
#E9E6B6
accent
#CD0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5962EA

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

Preview Lab → · Contrast checker → · Palette generator →

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