#5950BD#5950BD

#5950BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.165 H 282.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5950BD
RGBrgb(89, 80, 189)
HSLhsl(245, 45%, 53%)
HSVhsv(245, 58%, 74%)
CMYKcmyk(52.9%, 57.7%, 0%, 25.9%)
CIE-LABlab(40.47, 33.67, -56.44)
CIE-LCHlch(40.47, 65.72, 300.82°)
OKLaboklab(50.06% 0.0354 -0.1616)
OKLCHoklch(50.06% 0.165 282.3)
XYZxyz(16.1710, 11.5344, 49.5085)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950BD #B4BD50
analogous
#507EBD #5950BD #8F50BD
triadic
#5950BD #BD5950 #50BD59
tetradic
#5950BD #BD507E #B4BD50 #50BD8F
square
#5950BD #BD507E #B4BD50 #50BD8F
split-complementary
#5950BD #BD8F50 #7EBD50
monochromatic
#2E286A #413997 #5950BD #837CCE #ADA9DF

Accessibility & contrast

On white

6.35
#5950BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5950BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5950BD#FFFFFF#000000##FFFFFF
##5950BD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#2F697F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5950bd;
/* rgb */ color: rgb(89, 80, 189);
/* oklch */ color: oklch(50.1% 0.165 282.3);
Tailwind
colors: {
  custom: {
    50: '#9081d2',
    500: '#5950bd',
    950: '#000000',
  },
}
SCSS
$custom: #5950bd;
$custom-light: #9081d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5950bd",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 244.954,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.16542,
    "h": 282.3
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#5950BD
secondary
#C8CC9D
accent
#D553CA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5950BD

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

Preview Lab → · Contrast checker → · Palette generator →

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