#5950D2#5950D2

#5950D2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.7% C 0.193 H 280.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5950D2
RGBrgb(89, 80, 210)
HSLhsl(244, 59%, 57%)
HSVhsv(244, 62%, 82%)
CMYKcmyk(57.6%, 61.9%, 0%, 17.6%)
CIE-LABlab(42.02, 40.29, -66.09)
CIE-LCHlch(42.02, 77.40, 301.37°)
OKLaboklab(51.69% 0.0346 -0.19)
OKLCHoklch(51.69% 0.193 280.3)
XYZxyz(18.6177, 12.5130, 62.3945)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950D2 #C9D250
analogous
#5088D2 #5950D2 #9A50D2
triadic
#5950D2 #D25950 #50D259
tetradic
#5950D2 #D25088 #C9D250 #50D29A
square
#5950D2 #D25088 #C9D250 #50D29A
split-complementary
#5950D2 #D29A50 #88D250
monochromatic
#292285 #382FB6 #5950D2 #8781DF #B5B1EB

Accessibility & contrast

On white

6.00
#5950D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5950D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950D2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950D2#FFFFFF#000000##FFFFFF
##5950D21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#0D7089
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5950d2;
/* rgb */ color: rgb(89, 80, 210);
/* oklch */ color: oklch(51.7% 0.193 280.3);
Tailwind
colors: {
  custom: {
    50: '#9382e1',
    500: '#5950d2',
    950: '#000000',
  },
}
SCSS
$custom: #5950d2;
$custom-light: #9382e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5950d2",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 244.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.19309,
    "h": 280.3
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#5950D2
secondary
#D6D9A4
accent
#E246D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5950D2

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

Preview Lab → · Contrast checker → · Palette generator →

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