#5950CE#5950CE
#5950CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.188 H 280.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5950CE |
|---|---|
| RGB | rgb(89, 80, 206) |
| HSL | hsl(244, 56%, 56%) |
| HSV | hsv(244, 61%, 81%) |
| CMYK | cmyk(56.8%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(41.71, 39.03, -64.28) |
| CIE-LCH | lch(41.71, 75.20, 301.26°) |
| OKLab | oklab(51.37% 0.0349 -0.1847) |
| OKLCH | oklch(51.37% 0.188 280.7) |
| XYZ | xyz(18.1256, 12.3162, 59.8027) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.01
Warm Blue
#4B57DB
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.26
Bluey Purple
#6241C7
ΔE00 4.58
Dark Periwinkle
#665FD1
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950CE #C5CE50
analogous
#5086CE #5950CE #9850CE
triadic
#5950CE #CE5950 #50CE59
tetradic
#5950CE #CE5086 #C5CE50 #50CE98
square
#5950CE #CE5086 #C5CE50 #50CE98
split-complementary
#5950CE #CE9850 #86CE50
monochromatic
#2A2480 #3A31B0 #5950CE #8680DB #B4B0E9
Accessibility & contrast
On white
6.06
#5950CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5950CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950CE
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950CE | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#186F87
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5950ce; /* rgb */ color: rgb(89, 80, 206); /* oklch */ color: oklch(51.4% 0.188 280.7);
Tailwind
colors: {
custom: {
50: '#9281de',
500: '#5950ce',
950: '#000000',
},
}SCSS
$custom: #5950ce; $custom-light: #9281de; $custom-dark: #000000;
JSON
{
"hex": "#5950ce",
"rgb": {
"r": 89,
"g": 80,
"b": 206
},
"hsl": {
"h": 244.286,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.51367,
"c": 0.18792,
"h": 280.7
},
"luminance": 0.12317
}Semantic roles & 50–950 ramp
primary
#5950CE
secondary
#D3D7A3
accent
#E048D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83