#5962D7#5962D7

#5962D7 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.177 H 275.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5962D7
RGBrgb(89, 98, 215)
HSLhsl(236, 61%, 60%)
HSVhsv(236, 59%, 84%)
CMYKcmyk(58.6%, 54.4%, 0%, 15.7%)
CIE-LABlab(46.66, 30.96, -61.41)
CIE-LCHlch(46.66, 68.78, 296.76°)
OKLaboklab(55.24% 0.0174 -0.1761)
OKLCHoklch(55.24% 0.177 275.7)
XYZxyz(20.7493, 15.7640, 66.2261)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962D7 #D7CE59
analogous
#59A1D7 #5962D7 #8F59D7
triadic
#5962D7 #D75962 #62D759
tetradic
#5962D7 #D759A1 #D7CE59 #59D78F
square
#5962D7 #D759A1 #D7CE59 #59D78F
split-complementary
#5962D7 #D78F59 #A1D759
monochromatic
#232B92 #2F3AC4 #5962D7 #8A91E3 #BCBFEF

Accessibility & contrast

On white

5.06
#5962D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5962D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962D7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962D7#FFFFFF#000000##FFFFFF
##5962D71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E74DB
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5962d7;
/* rgb */ color: rgb(89, 98, 215);
/* oklch */ color: oklch(55.2% 0.177 275.7);
Tailwind
colors: {
  custom: {
    50: '#938ee4',
    500: '#5962d7',
    950: '#000000',
  },
}
SCSS
$custom: #5962d7;
$custom-light: #938ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#5962d7",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 235.714,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.17695,
    "h": 275.7
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#5962D7
secondary
#DEDBAD
accent
#D944E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5962D7

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

Preview Lab → · Contrast checker → · Palette generator →

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