#5962E8#5962E8

#5962E8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.5% C 0.200 H 275.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5962E8
RGBrgb(89, 98, 232)
HSLhsl(236, 76%, 63%)
HSVhsv(236, 62%, 91%)
CMYKcmyk(61.6%, 57.8%, 0%, 9%)
CIE-LABlab(47.86, 36.54, -69.11)
CIE-LCHlch(47.86, 78.17, 297.87°)
OKLaboklab(56.51% 0.0177 -0.1987)
OKLCHoklch(56.51% 0.2 275.1)
XYZxyz(23.0482, 16.6835, 78.3339)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962E8 #E8DF59
analogous
#59A9E8 #5962E8 #9859E8
triadic
#5962E8 #E85962 #62E859
tetradic
#5962E8 #E859A9 #E8DF59 #59E898
square
#5962E8 #E859A9 #E8DF59 #59E898
split-complementary
#5962E8 #E89859 #A9E859
monochromatic
#1822AE #232FE1 #5962E8 #8F95EF #C5C8F7

Accessibility & contrast

On white

4.84
#5962E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5962E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962E8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962E8#FFFFFF#000000##FFFFFF
##5962E81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5962e8;
/* rgb */ color: rgb(89, 98, 232);
/* oklch */ color: oklch(56.5% 0.200 275.1);
Tailwind
colors: {
  custom: {
    50: '#968ef0',
    500: '#5962e8',
    950: '#000000',
  },
}
SCSS
$custom: #5962e8;
$custom-light: #968ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5962e8",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 236.224,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.19951,
    "h": 275.1
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#5962E8
secondary
#E8E5B5
accent
#CB0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5962E8

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

Preview Lab → · Contrast checker → · Palette generator →

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