#5962CD#5962CD

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

Color values

HEX#5962CD
RGBrgb(89, 98, 205)
HSLhsl(235, 54%, 58%)
HSVhsv(235, 57%, 80%)
CMYKcmyk(56.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.00, 27.69, -56.77)
CIE-LCHlch(46.00, 63.17, 296.00°)
OKLaboklab(54.52% 0.0169 -0.1624)
OKLCHoklch(54.52% 0.163 275.9)
XYZxyz(19.5034, 15.2656, 59.6646)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962CD #CDC459
analogous
#599CCD #5962CD #8A59CD
triadic
#5962CD #CD5962 #62CD59
tetradic
#5962CD #CD599C #CDC459 #59CD8A
square
#5962CD #CD599C #CDC459 #59CD8A
split-complementary
#5962CD #CD8A59 #9CCD59
monochromatic
#282F84 #3640B3 #5962CD #888EDB #B7BBE9

Accessibility & contrast

On white

5.18
#5962CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5962CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962CD#FFFFFF#000000##FFFFFF
##5962CD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2572D1
Deuteranopia (green-blind)
#0968CB
Tritanopia (blue-blind)
#147A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5962cd;
/* rgb */ color: rgb(89, 98, 205);
/* oklch */ color: oklch(54.5% 0.163 275.9);
Tailwind
colors: {
  custom: {
    50: '#918edd',
    500: '#5962cd',
    950: '#000000',
  },
}
SCSS
$custom: #5962cd;
$custom-light: #918edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5962cd",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 235.345,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.16332,
    "h": 275.9
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#5962CD
secondary
#D8D5AA
accent
#D24BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5962CD

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

Preview Lab → · Contrast checker → · Palette generator →

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