#5962E5#5962E5

#5962E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.196 H 275.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5962E5
RGBrgb(89, 98, 229)
HSLhsl(236, 73%, 62%)
HSVhsv(236, 61%, 90%)
CMYKcmyk(61.1%, 57.2%, 0%, 10.2%)
CIE-LABlab(47.64, 35.56, -67.77)
CIE-LCHlch(47.64, 76.53, 297.69°)
OKLaboklab(56.28% 0.0177 -0.1948)
OKLCHoklch(56.28% 0.196 275.2)
XYZxyz(22.6257, 16.5145, 76.1089)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962E5 #E5DC59
analogous
#59A8E5 #5962E5 #9659E5
triadic
#5962E5 #E55962 #62E559
tetradic
#5962E5 #E559A8 #E5DC59 #59E596
square
#5962E5 #E559A8 #E5DC59 #59E596
split-complementary
#5962E5 #E59659 #A8E559
monochromatic
#1A24A9 #2430DD #5962E5 #8E94ED #C3C6F6

Accessibility & contrast

On white

4.88
#5962E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5962E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962E5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962E5#FFFFFF#000000##FFFFFF
##5962E51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5962e5;
/* rgb */ color: rgb(89, 98, 229);
/* oklch */ color: oklch(56.3% 0.196 275.2);
Tailwind
colors: {
  custom: {
    50: '#958eee',
    500: '#5962e5',
    950: '#000000',
  },
}
SCSS
$custom: #5962e5;
$custom-light: #958eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5962e5",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 236.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.19559,
    "h": 275.2
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#5962E5
secondary
#E6E3B3
accent
#C810D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5962E5

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

Preview Lab → · Contrast checker → · Palette generator →

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