#5950E5#5950E5

#5950E5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.217 H 278.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5950E5
RGBrgb(89, 80, 229)
HSLhsl(244, 74%, 61%)
HSVhsv(244, 65%, 90%)
CMYKcmyk(61.1%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.53, 46.28, -74.47)
CIE-LCHlch(43.53, 87.67, 301.86°)
OKLaboklab(53.26% 0.033 -0.2146)
OKLCHoklch(53.26% 0.217 278.7)
XYZxyz(21.1268, 13.5167, 75.6092)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950E5 #DCE550
analogous
#5091E5 #5950E5 #A350E5
triadic
#5950E5 #E55950 #50E559
tetradic
#5950E5 #E55091 #DCE550 #50E5A3
square
#5950E5 #E55091 #DCE550 #50E5A3
split-complementary
#5950E5 #E5A350 #91E550
monochromatic
#2018A2 #2B20D8 #5950E5 #8C85ED #BEBBF5

Accessibility & contrast

On white

5.67
#5950E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5950E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950E5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950E5#FFFFFF#000000##FFFFFF
##5950E51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5950e5;
/* rgb */ color: rgb(89, 80, 229);
/* oklch */ color: oklch(53.3% 0.217 278.7);
Tailwind
colors: {
  custom: {
    50: '#9682ee',
    500: '#5950e5',
    950: '#000000',
  },
}
SCSS
$custom: #5950e5;
$custom-light: #9682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5950e5",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 243.624,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.21708,
    "h": 278.7
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#5950E5
secondary
#E1E5AC
accent
#D60FCA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950E5

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

Preview Lab → · Contrast checker → · Palette generator →

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