#5950FF#5950FF

#5950FF is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.5% C 0.248 H 276.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5950FF
RGBrgb(89, 80, 255)
HSLhsl(243, 100%, 66%)
HSVhsv(243, 69%, 100%)
CMYKcmyk(65.1%, 68.6%, 0%, 0%)
CIE-LABlab(45.74, 54.37, -85.45)
CIE-LCHlch(45.74, 101.28, 302.47°)
OKLaboklab(55.53% 0.0297 -0.2467)
OKLCHoklch(55.53% 0.249 276.9)
XYZxyz(25.0326, 15.0790, 96.1797)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950FF #F6FF50
analogous
#509EFF #5950FF #B150FF
triadic
#5950FF #FF5950 #50FF59
tetradic
#5950FF #FF509E #F6FF50 #50FFB1
square
#5950FF #FF509E #F6FF50 #50FFB1
split-complementary
#5950FF #FFB150 #9EFF50
monochromatic
#0B00D5 #1F13FF #5950FF #938DFF #CDCAFF

Accessibility & contrast

On white

5.23
#5950FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5950FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950FF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950FF#FFFFFF#000000##FFFFFF
##5950FF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5950ff;
/* rgb */ color: rgb(89, 80, 255);
/* oklch */ color: oklch(55.5% 0.248 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b83ff',
    500: '#5950ff',
    950: '#000000',
  },
}
SCSS
$custom: #5950ff;
$custom-light: #9b83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5950ff",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 243.086,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.2485,
    "h": 276.9
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#5950FF
secondary
#F0F3B8
accent
#E600DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5950FF

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

Preview Lab → · Contrast checker → · Palette generator →

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