#5950AE#5950AE

#5950AE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.145 H 284.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5950AE
RGBrgb(89, 80, 174)
HSLhsl(246, 37%, 50%)
HSVhsv(246, 54%, 68%)
CMYKcmyk(48.9%, 54%, 0%, 31.8%)
CIE-LABlab(39.44, 28.98, -49.27)
CIE-LCHlch(39.44, 57.16, 300.46°)
OKLaboklab(48.97% 0.0351 -0.1405)
OKLCHoklch(48.97% 0.145 284)
XYZxyz(14.6262, 10.9164, 41.3726)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950AE #A5AE50
analogous
#5076AE #5950AE #8850AE
triadic
#5950AE #AE5950 #50AE59
tetradic
#5950AE #AE5076 #A5AE50 #50AE88
square
#5950AE #AE5076 #A5AE50 #50AE88
split-complementary
#5950AE #AE8850 #76AE50
monochromatic
#2E295A #443D84 #5950AE #807AC2 #A8A3D5

Accessibility & contrast

On white

6.60
#5950AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5950AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950AE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950AE#FFFFFF#000000##FFFFFF
##5950AE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#3B6577
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5950ae;
/* rgb */ color: rgb(89, 80, 174);
/* oklch */ color: oklch(49.0% 0.145 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e81c7',
    500: '#5950ae',
    950: '#000000',
  },
}
SCSS
$custom: #5950ae;
$custom-light: #8e81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5950ae",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 245.745,
    "s": 37.008,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.14483,
    "h": 284
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#5950AE
secondary
#BEC298
accent
#CD5BC2
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5950AE

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

Preview Lab → · Contrast checker → · Palette generator →

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