#5950D7#5950D7

#5950D7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.1% C 0.200 H 279.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5950D7
RGBrgb(89, 80, 215)
HSLhsl(244, 63%, 58%)
HSVhsv(244, 63%, 84%)
CMYKcmyk(58.6%, 62.8%, 0%, 15.7%)
CIE-LABlab(42.41, 41.87, -68.32)
CIE-LCHlch(42.41, 80.13, 301.50°)
OKLaboklab(52.09% 0.0343 -0.1965)
OKLCHoklch(52.09% 0.2 279.9)
XYZxyz(19.2504, 12.7661, 65.7265)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950D7 #CED750
analogous
#508AD7 #5950D7 #9C50D7
triadic
#5950D7 #D75950 #50D759
tetradic
#5950D7 #D7508A #CED750 #50D79C
square
#5950D7 #D7508A #CED750 #50D79C
split-complementary
#5950D7 #D79C50 #8AD750
monochromatic
#27208C #352BBE #5950D7 #8882E2 #B8B4EE

Accessibility & contrast

On white

5.91
#5950D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5950D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950D7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950D7#FFFFFF#000000##FFFFFF
##5950D71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5950d7;
/* rgb */ color: rgb(89, 80, 215);
/* oklch */ color: oklch(52.1% 0.200 279.9);
Tailwind
colors: {
  custom: {
    50: '#9482e4',
    500: '#5950d7',
    950: '#000000',
  },
}
SCSS
$custom: #5950d7;
$custom-light: #9482e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5950d7",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 244,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.1995,
    "h": 279.9
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#5950D7
secondary
#D9DCA6
accent
#E642DB
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5950D7

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

Preview Lab → · Contrast checker → · Palette generator →

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