#5950AA#5950AA

#5950AA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.139 H 284.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5950AA
RGBrgb(89, 80, 170)
HSLhsl(246, 36%, 49%)
HSVhsv(246, 53%, 67%)
CMYKcmyk(47.6%, 52.9%, 0%, 33.3%)
CIE-LABlab(39.18, 27.73, -47.32)
CIE-LCHlch(39.18, 54.85, 300.37°)
OKLaboklab(48.69% 0.0349 -0.1348)
OKLCHoklch(48.69% 0.139 284.5)
XYZxyz(14.2420, 10.7628, 39.3494)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950AA #A1AA50
analogous
#5074AA #5950AA #8650AA
triadic
#5950AA #AA5950 #50AA59
tetradic
#5950AA #AA5074 #A1AA50 #50AA86
square
#5950AA #AA5074 #A1AA50 #50AA86
split-complementary
#5950AA #AA8650 #74AA50
monochromatic
#2D2957 #433C80 #5950AA #7F78BF #A6A1D3

Accessibility & contrast

On white

6.66
#5950AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5950AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5950AA#FFFFFF#000000##FFFFFF
##5950AA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#2059A8
Tritanopia (blue-blind)
#3D6475
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5950aa;
/* rgb */ color: rgb(89, 80, 170);
/* oklch */ color: oklch(48.7% 0.139 284.5);
Tailwind
colors: {
  custom: {
    50: '#8d81c4',
    500: '#5950aa',
    950: '#000000',
  },
}
SCSS
$custom: #5950aa;
$custom-light: #8d81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5950aa",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 246,
    "s": 36,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.13922,
    "h": 284.5
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#5950AA
secondary
#BCC096
accent
#CC5CC1
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5950AA

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

Preview Lab → · Contrast checker → · Palette generator →

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