#5950DC#5950DC

#5950DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.206 H 279.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5950DC
RGBrgb(89, 80, 220)
HSLhsl(244, 67%, 59%)
HSVhsv(244, 64%, 86%)
CMYKcmyk(59.5%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.80, 43.45, -70.54)
CIE-LCHlch(42.80, 82.84, 301.63°)
OKLaboklab(52.5% 0.0339 -0.203)
OKLCHoklch(52.5% 0.206 279.5)
XYZxyz(19.9027, 13.0270, 69.1619)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950DC #D3DC50
analogous
#508DDC #5950DC #9F50DC
triadic
#5950DC #DC5950 #50DC59
tetradic
#5950DC #DC508D #D3DC50 #50DC9F
square
#5950DC #DC508D #D3DC50 #50DC9F
split-complementary
#5950DC #DC9F50 #8DDC50
monochromatic
#251E94 #3228C7 #5950DC #8983E6 #BAB6F0

Accessibility & contrast

On white

5.82
#5950DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5950DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950DC#FFFFFF#000000##FFFFFF
##5950DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5950dc;
/* rgb */ color: rgb(89, 80, 220);
/* oklch */ color: oklch(52.5% 0.206 279.5);
Tailwind
colors: {
  custom: {
    50: '#9582e8',
    500: '#5950dc',
    950: '#000000',
  },
}
SCSS
$custom: #5950dc;
$custom-light: #9582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5950dc",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 243.857,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.20583,
    "h": 279.5
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#5950DC
secondary
#DCDFA8
accent
#EA3EDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5950DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5950DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva