#5962CE#5962CE

#5962CE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.165 H 275.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5962CE
RGBrgb(89, 98, 206)
HSLhsl(235, 54%, 58%)
HSVhsv(235, 57%, 81%)
CMYKcmyk(56.8%, 52.4%, 0%, 19.2%)
CIE-LABlab(46.06, 28.02, -57.24)
CIE-LCHlch(46.06, 63.73, 296.08°)
OKLaboklab(54.59% 0.017 -0.1638)
OKLCHoklch(54.59% 0.165 275.9)
XYZxyz(19.6245, 15.3140, 60.3023)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962CE #CEC559
analogous
#599CCE #5962CE #8B59CE
triadic
#5962CE #CE5962 #62CE59
tetradic
#5962CE #CE599C #CEC559 #59CE8B
square
#5962CE #CE599C #CEC559 #59CE8B
split-complementary
#5962CE #CE8B59 #9CCE59
monochromatic
#272F85 #353FB5 #5962CE #888FDC #B8BBEA

Accessibility & contrast

On white

5.17
#5962CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5962CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962CE#FFFFFF#000000##FFFFFF
##5962CE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#0468CC
Tritanopia (blue-blind)
#117B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5962ce;
/* rgb */ color: rgb(89, 98, 206);
/* oklch */ color: oklch(54.6% 0.165 275.9);
Tailwind
colors: {
  custom: {
    50: '#918ede',
    500: '#5962ce',
    950: '#000000',
  },
}
SCSS
$custom: #5962ce;
$custom-light: #918ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5962ce",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 235.385,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.16469,
    "h": 275.9
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#5962CE
secondary
#D9D5AA
accent
#D24ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5962CE

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

Preview Lab → · Contrast checker → · Palette generator →

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