#5950E8#5950E8

#5950E8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.221 H 278.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5950E8
RGBrgb(89, 80, 232)
HSLhsl(244, 77%, 61%)
HSVhsv(244, 66%, 91%)
CMYKcmyk(61.6%, 65.5%, 0%, 9%)
CIE-LABlab(43.78, 47.22, -75.76)
CIE-LCHlch(43.78, 89.27, 301.93°)
OKLaboklab(53.51% 0.0327 -0.2184)
OKLCHoklch(53.51% 0.221 278.5)
XYZxyz(21.5493, 13.6857, 77.8343)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950E8 #DFE850
analogous
#5093E8 #5950E8 #A550E8
triadic
#5950E8 #E85950 #50E859
tetradic
#5950E8 #E85093 #DFE850 #50E8A5
square
#5950E8 #E85093 #DFE850 #50E8A5
split-complementary
#5950E8 #E8A550 #93E850
monochromatic
#1F16A8 #291DDE #5950E8 #8C86EF #C0BCF6

Accessibility & contrast

On white

5.62
#5950E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5950E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950E8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950E8#FFFFFF#000000##FFFFFF
##5950E81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5950e8;
/* rgb */ color: rgb(89, 80, 232);
/* oklch */ color: oklch(53.5% 0.221 278.5);
Tailwind
colors: {
  custom: {
    50: '#9782f0',
    500: '#5950e8',
    950: '#000000',
  },
}
SCSS
$custom: #5950e8;
$custom-light: #9782f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5950e8",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 243.553,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.22079,
    "h": 278.5
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#5950E8
secondary
#E3E6AD
accent
#D90DCD
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950E8

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

Preview Lab → · Contrast checker → · Palette generator →

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