#5950E2#5950E2

#5950E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.213 H 279.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5950E2
RGBrgb(89, 80, 226)
HSLhsl(244, 72%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.6%, 64.6%, 0%, 11.4%)
CIE-LABlab(43.29, 45.33, -73.16)
CIE-LCHlch(43.29, 86.07, 301.78°)
OKLaboklab(53.01% 0.0333 -0.2107)
OKLCHoklch(53.01% 0.213 279)
XYZxyz(20.7116, 13.3506, 73.4223)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950E2 #D9E250
analogous
#5090E2 #5950E2 #A250E2
triadic
#5950E2 #E25950 #50E259
tetradic
#5950E2 #E25090 #D9E250 #50E2A2
square
#5950E2 #E25090 #D9E250 #50E2A2
split-complementary
#5950E2 #E2A250 #90E250
monochromatic
#221A9E #2E23D2 #5950E2 #8B84EB #BDB9F3

Accessibility & contrast

On white

5.72
#5950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5950E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950E2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950E2#FFFFFF#000000##FFFFFF
##5950E21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5950e2;
/* rgb */ color: rgb(89, 80, 226);
/* oklch */ color: oklch(53.0% 0.213 279.0);
Tailwind
colors: {
  custom: {
    50: '#9682ec',
    500: '#5950e2',
    950: '#000000',
  },
}
SCSS
$custom: #5950e2;
$custom-light: #9682ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5950e2",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 243.699,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.21335,
    "h": 279
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#5950E2
secondary
#E0E3AB
accent
#EE39E3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5950E2

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

Preview Lab → · Contrast checker → · Palette generator →

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