#5950EA#5950EA

#5950EA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.223 H 278.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5950EA
RGBrgb(89, 80, 234)
HSLhsl(244, 79%, 62%)
HSVhsv(244, 66%, 92%)
CMYKcmyk(62%, 65.8%, 0%, 8.2%)
CIE-LABlab(43.94, 47.84, -76.62)
CIE-LCHlch(43.94, 90.33, 301.98°)
OKLaboklab(53.69% 0.0324 -0.2209)
OKLCHoklch(53.69% 0.223 278.4)
XYZxyz(21.8350, 13.8000, 79.3390)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950EA #E1EA50
analogous
#5094EA #5950EA #A650EA
triadic
#5950EA #EA5950 #50EA59
tetradic
#5950EA #EA5094 #E1EA50 #50EAA6
square
#5950EA #EA5094 #E1EA50 #50EAA6
split-complementary
#5950EA #EAA650 #94EA50
monochromatic
#1D15AB #271BE2 #5950EA #8D87F1 #C1BDF7

Accessibility & contrast

On white

5.58
#5950EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5950EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950EA#FFFFFF#000000##FFFFFF
##5950EA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5950ea;
/* rgb */ color: rgb(89, 80, 234);
/* oklch */ color: oklch(53.7% 0.223 278.4);
Tailwind
colors: {
  custom: {
    50: '#9782f2',
    500: '#5950ea',
    950: '#000000',
  },
}
SCSS
$custom: #5950ea;
$custom-light: #9782f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5950ea",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 243.506,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.22325,
    "h": 278.4
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#5950EA
secondary
#E4E8AE
accent
#DB0BCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950EA

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

Preview Lab → · Contrast checker → · Palette generator →

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