#5962CC#5962CC

#5962CC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.162 H 276.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5962CC
RGBrgb(89, 98, 204)
HSLhsl(235, 53%, 57%)
HSVhsv(235, 56%, 80%)
CMYKcmyk(56.4%, 52%, 0%, 20%)
CIE-LABlab(45.93, 27.36, -56.30)
CIE-LCHlch(45.93, 62.60, 295.92°)
OKLaboklab(54.45% 0.0168 -0.1611)
OKLCHoklch(54.45% 0.162 276)
XYZxyz(19.3831, 15.2175, 59.0309)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962CC #CCC359
analogous
#599CCC #5962CC #8959CC
triadic
#5962CC #CC5962 #62CC59
tetradic
#5962CC #CC599C #CCC359 #59CC89
square
#5962CC #CC599C #CCC359 #59CC89
split-complementary
#5962CC #CC8959 #9CCC59
monochromatic
#282F83 #3640B1 #5962CC #888EDA #B7BBE9

Accessibility & contrast

On white

5.19
#5962CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5962CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962CC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962CC#FFFFFF#000000##FFFFFF
##5962CC1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#0D68CA
Tritanopia (blue-blind)
#167A8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5962cc;
/* rgb */ color: rgb(89, 98, 204);
/* oklch */ color: oklch(54.5% 0.162 276.0);
Tailwind
colors: {
  custom: {
    50: '#918edc',
    500: '#5962cc',
    950: '#000000',
  },
}
SCSS
$custom: #5962cc;
$custom-light: #918edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5962cc",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 235.304,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.16194,
    "h": 276
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#5962CC
secondary
#D8D4A9
accent
#D14BDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5962CC

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

Preview Lab → · Contrast checker → · Palette generator →

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