#5962E6#5962E6

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

Color values

HEX#5962E6
RGBrgb(89, 98, 230)
HSLhsl(236, 74%, 63%)
HSVhsv(236, 61%, 90%)
CMYKcmyk(61.3%, 57.4%, 0%, 9.8%)
CIE-LABlab(47.71, 35.89, -68.22)
CIE-LCHlch(47.71, 77.08, 297.75°)
OKLaboklab(56.35% 0.0177 -0.1961)
OKLCHoklch(56.35% 0.197 275.2)
XYZxyz(22.7658, 16.5705, 76.8463)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962E6 #E6DD59
analogous
#59A9E6 #5962E6 #9659E6
triadic
#5962E6 #E65962 #62E659
tetradic
#5962E6 #E659A9 #E6DD59 #59E696
square
#5962E6 #E659A9 #E6DD59 #59E696
split-complementary
#5962E6 #E69659 #A9E659
monochromatic
#1A23AB #2430DE #5962E6 #8E94EE #C3C7F6

Accessibility & contrast

On white

4.87
#5962E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5962E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962E6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962E6#FFFFFF#000000##FFFFFF
##5962E61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5962e6;
/* rgb */ color: rgb(89, 98, 230);
/* oklch */ color: oklch(56.4% 0.197 275.2);
Tailwind
colors: {
  custom: {
    50: '#958eef',
    500: '#5962e6',
    950: '#000000',
  },
}
SCSS
$custom: #5962e6;
$custom-light: #958eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5962e6",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 236.17,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56353,
    "c": 0.1969,
    "h": 275.2
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#5962E6
secondary
#E7E4B4
accent
#C910D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5962E6

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

Preview Lab → · Contrast checker → · Palette generator →

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