#5950DF#5950DF

#5950DF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.210 H 279.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5950DF
RGBrgb(89, 80, 223)
HSLhsl(244, 69%, 59%)
HSVhsv(244, 64%, 87%)
CMYKcmyk(60.1%, 64.1%, 0%, 12.5%)
CIE-LABlab(43.04, 44.39, -71.85)
CIE-LCHlch(43.04, 84.46, 301.71°)
OKLaboklab(52.75% 0.0336 -0.2069)
OKLCHoklch(52.75% 0.21 279.2)
XYZxyz(20.3035, 13.1874, 71.2732)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950DF #D6DF50
analogous
#508FDF #5950DF #A050DF
triadic
#5950DF #DF5950 #50DF59
tetradic
#5950DF #DF508F #D6DF50 #50DFA0
square
#5950DF #DF508F #D6DF50 #50DFA0
split-complementary
#5950DF #DFA050 #8FDF50
monochromatic
#241C99 #3025CC #5950DF #8A84E8 #BBB7F2

Accessibility & contrast

On white

5.77
#5950DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5950DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950DF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950DF#FFFFFF#000000##FFFFFF
##5950DF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5950df;
/* rgb */ color: rgb(89, 80, 223);
/* oklch */ color: oklch(52.8% 0.210 279.2);
Tailwind
colors: {
  custom: {
    50: '#9582ea',
    500: '#5950df',
    950: '#000000',
  },
}
SCSS
$custom: #5950df;
$custom-light: #9582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5950df",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 243.776,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.20961,
    "h": 279.2
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#5950DF
secondary
#DEE1AA
accent
#EC3CE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5950DF

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

Preview Lab → · Contrast checker → · Palette generator →

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