#5950D4#5950D4

#5950D4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.196 H 280.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5950D4
RGBrgb(89, 80, 212)
HSLhsl(244, 61%, 57%)
HSVhsv(244, 62%, 83%)
CMYKcmyk(58%, 62.3%, 0%, 16.9%)
CIE-LABlab(42.17, 40.92, -66.98)
CIE-LCHlch(42.17, 78.50, 301.42°)
OKLaboklab(51.85% 0.0345 -0.1926)
OKLCHoklch(51.85% 0.196 280.2)
XYZxyz(18.8684, 12.6133, 63.7149)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950D4 #CBD450
analogous
#5089D4 #5950D4 #9B50D4
triadic
#5950D4 #D45950 #50D459
tetradic
#5950D4 #D45089 #CBD450 #50D49B
square
#5950D4 #D45089 #CBD450 #50D49B
split-complementary
#5950D4 #D49B50 #89D450
monochromatic
#282188 #372EB9 #5950D4 #8881E0 #B6B2EC

Accessibility & contrast

On white

5.96
#5950D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5950D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5950D4#FFFFFF#000000##FFFFFF
##5950D41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#05718A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5950d4;
/* rgb */ color: rgb(89, 80, 212);
/* oklch */ color: oklch(51.8% 0.196 280.2);
Tailwind
colors: {
  custom: {
    50: '#9382e2',
    500: '#5950d4',
    950: '#000000',
  },
}
SCSS
$custom: #5950d4;
$custom-light: #9382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5950d4",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 244.091,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.19566,
    "h": 280.2
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#5950D4
secondary
#D7DBA5
accent
#E444D9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5950D4

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

Preview Lab → · Contrast checker → · Palette generator →

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