#5950EE#5950EE

#5950EE is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.228 H 278.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5950EE
RGBrgb(89, 80, 238)
HSLhsl(243, 82%, 62%)
HSVhsv(243, 66%, 93%)
CMYKcmyk(62.6%, 66.4%, 0%, 6.7%)
CIE-LABlab(44.28, 49.09, -78.33)
CIE-LCHlch(44.28, 92.44, 302.08°)
OKLaboklab(54.03% 0.032 -0.2259)
OKLCHoklch(54.03% 0.228 278.1)
XYZxyz(22.4161, 14.0324, 82.3996)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950EE #E5EE50
analogous
#5096EE #5950EE #A850EE
triadic
#5950EE #EE5950 #50EE59
tetradic
#5950EE #EE5096 #E5EE50 #50EEA8
square
#5950EE #EE5096 #E5EE50 #50EEA8
split-complementary
#5950EE #EEA850 #96EE50
monochromatic
#1A11B2 #2418E9 #5950EE #8E88F3 #C3C0F9

Accessibility & contrast

On white

5.52
#5950EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5950EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950EE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950EE#FFFFFF#000000##FFFFFF
##5950EE1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF3
Deuteranopia (green-blind)
#0062EB
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5950ee;
/* rgb */ color: rgb(89, 80, 238);
/* oklch */ color: oklch(54.0% 0.228 278.1);
Tailwind
colors: {
  custom: {
    50: '#9882f5',
    500: '#5950ee',
    950: '#000000',
  },
}
SCSS
$custom: #5950ee;
$custom-light: #9882f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5950ee",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 238
  },
  "hsl": {
    "h": 243.418,
    "s": 82.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.22813,
    "h": 278.1
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#5950EE
secondary
#E6EAB0
accent
#DF07D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950EE

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

Preview Lab → · Contrast checker → · Palette generator →

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