#5950EB#5950EB

#5950EB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.224 H 278.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5950EB
RGBrgb(89, 80, 235)
HSLhsl(243, 79%, 62%)
HSVhsv(243, 66%, 92%)
CMYKcmyk(62.1%, 66%, 0%, 7.8%)
CIE-LABlab(44.03, 48.16, -77.05)
CIE-LCHlch(44.03, 90.86, 302.01°)
OKLaboklab(53.77% 0.0323 -0.2221)
OKLCHoklch(53.77% 0.224 278.3)
XYZxyz(21.9791, 13.8576, 80.0977)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950EB #E2EB50
analogous
#5095EB #5950EB #A750EB
triadic
#5950EB #EB5950 #50EB59
tetradic
#5950EB #EB5095 #E2EB50 #50EBA7
square
#5950EB #EB5095 #E2EB50 #50EBA7
split-complementary
#5950EB #EBA750 #95EB50
monochromatic
#1D14AD #261AE4 #5950EB #8D87F1 #C1BEF8

Accessibility & contrast

On white

5.57
#5950EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5950EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950EB#FFFFFF#000000##FFFFFF
##5950EB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5950eb;
/* rgb */ color: rgb(89, 80, 235);
/* oklch */ color: oklch(53.8% 0.224 278.3);
Tailwind
colors: {
  custom: {
    50: '#9782f3',
    500: '#5950eb',
    950: '#000000',
  },
}
SCSS
$custom: #5950eb;
$custom-light: #9782f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5950eb",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 243.484,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.22447,
    "h": 278.3
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#5950EB
secondary
#E5E8AF
accent
#DC0AD0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950EB

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

Preview Lab → · Contrast checker → · Palette generator →

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