#5962DE#5962DE

#5962DE is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.8% C 0.186 H 275.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5962DE
RGBrgb(89, 98, 222)
HSLhsl(236, 67%, 61%)
HSVhsv(236, 60%, 87%)
CMYKcmyk(59.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(47.15, 33.26, -64.61)
CIE-LCHlch(47.15, 72.67, 297.24°)
OKLaboklab(55.75% 0.0177 -0.1855)
OKLCHoklch(55.75% 0.186 275.4)
XYZxyz(21.6680, 16.1315, 71.0649)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962DE #DED559
analogous
#59A4DE #5962DE #9259DE
triadic
#5962DE #DE5962 #62DE59
tetradic
#5962DE #DE59A4 #DED559 #59DE92
square
#5962DE #DE59A4 #DED559 #59DE92
split-complementary
#5962DE #DE9259 #A4DE59
monochromatic
#1F289D #2935D0 #5962DE #8C92E8 #BFC3F2

Accessibility & contrast

On white

4.97
#5962DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5962DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962DE#FFFFFF#000000##FFFFFF
##5962DE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5962de;
/* rgb */ color: rgb(89, 98, 222);
/* oklch */ color: oklch(55.8% 0.186 275.4);
Tailwind
colors: {
  custom: {
    50: '#948ee9',
    500: '#5962de',
    950: '#000000',
  },
}
SCSS
$custom: #5962de;
$custom-light: #948ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5962de",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 235.94,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.18634,
    "h": 275.4
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#5962DE
secondary
#E2DFB0
accent
#C217CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5962DE

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

Preview Lab → · Contrast checker → · Palette generator →

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