#5950C8#5950C8

#5950C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.180 H 281.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5950C8
RGBrgb(89, 80, 200)
HSLhsl(245, 52%, 55%)
HSVhsv(245, 60%, 78%)
CMYKcmyk(55.5%, 60%, 0%, 21.6%)
CIE-LABlab(41.26, 37.14, -61.54)
CIE-LCHlch(41.26, 71.88, 301.11°)
OKLaboklab(50.9% 0.0351 -0.1766)
OKLCHoklch(50.9% 0.18 281.3)
XYZxyz(17.4106, 12.0302, 56.0370)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950C8 #BFC850
analogous
#5083C8 #5950C8 #9550C8
triadic
#5950C8 #C85950 #50C859
tetradic
#5950C8 #C85083 #BFC850 #50C895
square
#5950C8 #C85083 #BFC850 #50C895
split-complementary
#5950C8 #C89550 #83C850
monochromatic
#2C2678 #3D34A6 #5950C8 #857FD7 #B1ADE5

Accessibility & contrast

On white

6.17
#5950C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5950C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5950C8#FFFFFF#000000##FFFFFF
##5950C81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#226D84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5950c8;
/* rgb */ color: rgb(89, 80, 200);
/* oklch */ color: oklch(50.9% 0.180 281.3);
Tailwind
colors: {
  custom: {
    50: '#9281da',
    500: '#5950c8',
    950: '#000000',
  },
}
SCSS
$custom: #5950c8;
$custom-light: #9281da;
$custom-dark: #000000;
JSON
{
  "hex": "#5950c8",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 244.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.18007,
    "h": 281.3
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#5950C8
secondary
#CFD3A1
accent
#DC4CD1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5950C8

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

Preview Lab → · Contrast checker → · Palette generator →

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