#5950A3#5950A3

#5950A3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.129 H 285.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5950A3
RGBrgb(89, 80, 163)
HSLhsl(247, 34%, 48%)
HSVhsv(247, 51%, 64%)
CMYKcmyk(45.4%, 50.9%, 0%, 36.1%)
CIE-LABlab(38.73, 25.58, -43.87)
CIE-LCHlch(38.73, 50.78, 300.25°)
OKLaboklab(48.21% 0.0343 -0.1246)
OKLCHoklch(48.21% 0.129 285.4)
XYZxyz(13.5974, 10.5049, 35.9544)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950A3 #9AA350
analogous
#5070A3 #5950A3 #8250A3
triadic
#5950A3 #A35950 #50A359
tetradic
#5950A3 #A35070 #9AA350 #50A382
square
#5950A3 #A35070 #9AA350 #50A382
split-complementary
#5950A3 #A38250 #70A350
monochromatic
#2C2851 #433C7A #5950A3 #7D75BB #A39ECF

Accessibility & contrast

On white

6.77
#5950A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5950A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5950A3#FFFFFF#000000##FFFFFF
##5950A31.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA6
Deuteranopia (green-blind)
#2959A1
Tritanopia (blue-blind)
#426272
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5950a3;
/* rgb */ color: rgb(89, 80, 163);
/* oklch */ color: oklch(48.2% 0.129 285.4);
Tailwind
colors: {
  custom: {
    50: '#8c81bf',
    500: '#5950a3',
    950: '#000000',
  },
}
SCSS
$custom: #5950a3;
$custom-light: #8c81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5950a3",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 246.506,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.12928,
    "h": 285.4
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#5950A3
secondary
#B8BC92
accent
#CA5EBE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5950A3

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

Preview Lab → · Contrast checker → · Palette generator →

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