#5950EF#5950EF

#5950EF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.229 H 278.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5950EF
RGBrgb(89, 80, 239)
HSLhsl(243, 83%, 63%)
HSVhsv(243, 67%, 94%)
CMYKcmyk(62.8%, 66.5%, 0%, 6.3%)
CIE-LABlab(44.36, 49.41, -78.75)
CIE-LCHlch(44.36, 92.97, 302.10°)
OKLaboklab(54.12% 0.0318 -0.2271)
OKLCHoklch(54.12% 0.229 278)
XYZxyz(22.5634, 14.0914, 83.1755)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950EF #E6EF50
analogous
#5097EF #5950EF #A850EF
triadic
#5950EF #EF5950 #50EF59
tetradic
#5950EF #EF5097 #E6EF50 #50EFA8
square
#5950EF #EF5097 #E6EF50 #50EFA8
split-complementary
#5950EF #EFA850 #97EF50
monochromatic
#1A10B4 #2418EA #5950EF #8E88F4 #C3C0F9

Accessibility & contrast

On white

5.50
#5950EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5950EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950EF#FFFFFF#000000##FFFFFF
##5950EF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5950ef;
/* rgb */ color: rgb(89, 80, 239);
/* oklch */ color: oklch(54.1% 0.229 278.0);
Tailwind
colors: {
  custom: {
    50: '#9882f5',
    500: '#5950ef',
    950: '#000000',
  },
}
SCSS
$custom: #5950ef;
$custom-light: #9882f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5950ef",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 243.396,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.22935,
    "h": 278
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#5950EF
secondary
#E7EAB0
accent
#E006D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5950EF

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

Preview Lab → · Contrast checker → · Palette generator →

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