#5962E9#5962E9

#5962E9 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.201 H 275.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5962E9
RGBrgb(89, 98, 233)
HSLhsl(236, 77%, 63%)
HSVhsv(236, 62%, 91%)
CMYKcmyk(61.8%, 57.9%, 0%, 8.6%)
CIE-LABlab(47.93, 36.87, -69.55)
CIE-LCHlch(47.93, 78.72, 297.93°)
OKLaboklab(56.58% 0.0177 -0.2)
OKLCHoklch(56.58% 0.201 275.1)
XYZxyz(23.1907, 16.7405, 79.0841)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962E9 #E9E059
analogous
#59AAE9 #5962E9 #9859E9
triadic
#5962E9 #E95962 #62E959
tetradic
#5962E9 #E959AA #E9E059 #59E998
square
#5962E9 #E959AA #E9E059 #59E998
split-complementary
#5962E9 #E99859 #AAE959
monochromatic
#1721B0 #232FE2 #5962E9 #8F95F0 #C5C8F7

Accessibility & contrast

On white

4.83
#5962E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5962E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962E9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962E9#FFFFFF#000000##FFFFFF
##5962E91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5962e9;
/* rgb */ color: rgb(89, 98, 233);
/* oklch */ color: oklch(56.6% 0.201 275.1);
Tailwind
colors: {
  custom: {
    50: '#968ef1',
    500: '#5962e9',
    950: '#000000',
  },
}
SCSS
$custom: #5962e9;
$custom-light: #968ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5962e9",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 236.25,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.20081,
    "h": 275.1
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#5962E9
secondary
#E9E5B5
accent
#CC0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5962E9

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

Preview Lab → · Contrast checker → · Palette generator →

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