#5950CA#5950CA
#5950CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.183 H 281.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5950CA |
|---|---|
| RGB | rgb(89, 80, 202) |
| HSL | hsl(244, 54%, 55%) |
| HSV | hsv(244, 60%, 79%) |
| CMYK | cmyk(55.9%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.41, 37.77, -62.46) |
| CIE-LCH | lch(41.41, 72.99, 301.16°) |
| OKLab | oklab(51.05% 0.0351 -0.1793) |
| OKLCH | oklch(51.05% 0.183 281.1) |
| XYZ | xyz(17.6458, 12.1243, 57.2760) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.81
Warm Blue
#4B57DB
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950CA #C1CA50
analogous
#5084CA #5950CA #9650CA
triadic
#5950CA #CA5950 #50CA59
tetradic
#5950CA #CA5084 #C1CA50 #50CA96
square
#5950CA #CA5084 #C1CA50 #50CA96
split-complementary
#5950CA #CA9650 #84CA50
monochromatic
#2B257A #3C33A9 #5950CA #867FD8 #B2AEE6
Accessibility & contrast
On white
6.13
#5950CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5950CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950CA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950CA | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#1F6D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5950ca; /* rgb */ color: rgb(89, 80, 202); /* oklch */ color: oklch(51.1% 0.183 281.1);
Tailwind
colors: {
custom: {
50: '#9281db',
500: '#5950ca',
950: '#000000',
},
}SCSS
$custom: #5950ca; $custom-light: #9281db; $custom-dark: #000000;
JSON
{
"hex": "#5950ca",
"rgb": {
"r": 89,
"g": 80,
"b": 202
},
"hsl": {
"h": 244.426,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.51052,
"c": 0.1827,
"h": 281.1
},
"luminance": 0.12125
}Semantic roles & 50–950 ramp
primary
#5950CA
secondary
#D1D4A1
accent
#DD4BD2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83