#5950CB#5950CB
#5950CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.184 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5950CB |
|---|---|
| RGB | rgb(89, 80, 203) |
| HSL | hsl(244, 54%, 55%) |
| HSV | hsv(244, 61%, 80%) |
| CMYK | cmyk(56.2%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.49, 38.08, -62.92) |
| CIE-LCH | lch(41.49, 73.54, 301.19°) |
| OKLab | oklab(51.13% 0.035 -0.1806) |
| OKLCH | oklch(51.13% 0.184 281) |
| XYZ | xyz(17.7646, 12.1718, 57.9016) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.86
Warm Blue
#4B57DB
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 4.52
Dark Periwinkle
#665FD1
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950CB #C2CB50
analogous
#5084CB #5950CB #9650CB
triadic
#5950CB #CB5950 #50CB59
tetradic
#5950CB #CB5084 #C2CB50 #50CB96
square
#5950CB #CB5084 #C2CB50 #50CB96
split-complementary
#5950CB #CB9650 #84CB50
monochromatic
#2B257C #3C33AB #5950CB #867FD9 #B3AEE7
Accessibility & contrast
On white
6.11
#5950CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5950CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950CB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950CB | 1.00 | 6.11 | 3.43 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#1D6E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5950cb; /* rgb */ color: rgb(89, 80, 203); /* oklch */ color: oklch(51.1% 0.184 281.0);
Tailwind
colors: {
custom: {
50: '#9281dc',
500: '#5950cb',
950: '#000000',
},
}SCSS
$custom: #5950cb; $custom-light: #9281dc; $custom-dark: #000000;
JSON
{
"hex": "#5950cb",
"rgb": {
"r": 89,
"g": 80,
"b": 203
},
"hsl": {
"h": 244.39,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.5113,
"c": 0.18401,
"h": 281
},
"luminance": 0.12173
}Semantic roles & 50–950 ramp
primary
#5950CB
secondary
#D1D5A2
accent
#DE4AD3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83