#5950CB#5950CB

#5950CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.184 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5950CB
RGBrgb(89, 80, 203)
HSLhsl(244, 54%, 55%)
HSVhsv(244, 61%, 80%)
CMYKcmyk(56.2%, 60.6%, 0%, 20.4%)
CIE-LABlab(41.49, 38.08, -62.92)
CIE-LCHlch(41.49, 73.54, 301.19°)
OKLaboklab(51.13% 0.035 -0.1806)
OKLCHoklch(51.13% 0.184 281)
XYZxyz(17.7646, 12.1718, 57.9016)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950CB #C2CB50
analogous
#5084CB #5950CB #9650CB
triadic
#5950CB #CB5950 #50CB59
tetradic
#5950CB #CB5084 #C2CB50 #50CB96
square
#5950CB #CB5084 #C2CB50 #50CB96
split-complementary
#5950CB #CB9650 #84CB50
monochromatic
#2B257C #3C33AB #5950CB #867FD9 #B3AEE7

Accessibility & contrast

On white

6.11
#5950CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5950CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950CB#FFFFFF#000000##FFFFFF
##5950CB1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#1D6E86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5950cb;
/* rgb */ color: rgb(89, 80, 203);
/* oklch */ color: oklch(51.1% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#9281dc',
    500: '#5950cb',
    950: '#000000',
  },
}
SCSS
$custom: #5950cb;
$custom-light: #9281dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5950cb",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 244.39,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.18401,
    "h": 281
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#5950CB
secondary
#D1D5A2
accent
#DE4AD3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5950CB

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

Preview Lab → · Contrast checker → · Palette generator →

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