#5962E7#5962E7

#5962E7 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.198 H 275.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5962E7
RGBrgb(89, 98, 231)
HSLhsl(236, 75%, 63%)
HSVhsv(236, 61%, 91%)
CMYKcmyk(61.5%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.79, 36.21, -68.66)
CIE-LCHlch(47.79, 77.63, 297.81°)
OKLaboklab(56.43% 0.0177 -0.1974)
OKLCHoklch(56.43% 0.198 275.1)
XYZxyz(22.9066, 16.6269, 77.5880)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962E7 #E7DE59
analogous
#59A9E7 #5962E7 #9759E7
triadic
#5962E7 #E75962 #62E759
tetradic
#5962E7 #E759A9 #E7DE59 #59E797
square
#5962E7 #E759A9 #E7DE59 #59E797
split-complementary
#5962E7 #E79759 #A9E759
monochromatic
#1922AD #242FDF #5962E7 #8E95EF #C4C7F6

Accessibility & contrast

On white

4.85
#5962E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5962E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962E7#FFFFFF#000000##FFFFFF
##5962E71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5962e7;
/* rgb */ color: rgb(89, 98, 231);
/* oklch */ color: oklch(56.4% 0.198 275.1);
Tailwind
colors: {
  custom: {
    50: '#958ef0',
    500: '#5962e7',
    950: '#000000',
  },
}
SCSS
$custom: #5962e7;
$custom-light: #958ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5962e7",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 236.197,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.19821,
    "h": 275.1
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#5962E7
secondary
#E8E4B4
accent
#CA0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5962E7

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

Preview Lab → · Contrast checker → · Palette generator →

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