#5950D8#5950D8

#5950D8 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.201 H 279.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5950D8
RGBrgb(89, 80, 216)
HSLhsl(244, 64%, 58%)
HSVhsv(244, 63%, 85%)
CMYKcmyk(58.8%, 63%, 0%, 15.3%)
CIE-LABlab(42.49, 42.19, -68.77)
CIE-LCHlch(42.49, 80.68, 301.53°)
OKLaboklab(52.17% 0.0342 -0.1978)
OKLCHoklch(52.17% 0.201 279.8)
XYZxyz(19.3792, 12.8177, 66.4053)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950D8 #CFD850
analogous
#508BD8 #5950D8 #9D50D8
triadic
#5950D8 #D85950 #50D859
tetradic
#5950D8 #D8508B #CFD850 #50D89D
square
#5950D8 #D8508B #CFD850 #50D89D
split-complementary
#5950D8 #D89D50 #8BD850
monochromatic
#27208E #352BC0 #5950D8 #8882E3 #B8B4EE

Accessibility & contrast

On white

5.89
#5950D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5950D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950D8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950D8#FFFFFF#000000##FFFFFF
##5950D81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5950d8;
/* rgb */ color: rgb(89, 80, 216);
/* oklch */ color: oklch(52.2% 0.201 279.8);
Tailwind
colors: {
  custom: {
    50: '#9482e5',
    500: '#5950d8',
    950: '#000000',
  },
}
SCSS
$custom: #5950d8;
$custom-light: #9482e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5950d8",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 243.971,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.20077,
    "h": 279.8
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#5950D8
secondary
#D9DDA7
accent
#E741DC
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5950D8

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

Preview Lab → · Contrast checker → · Palette generator →

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