#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 |
|---|---|
| RGB | rgb(89, 80, 200) |
| HSL | hsl(245, 52%, 55%) |
| HSV | hsv(245, 60%, 78%) |
| CMYK | cmyk(55.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(41.26, 37.14, -61.54) |
| CIE-LCH | lch(41.26, 71.88, 301.11°) |
| OKLab | oklab(50.9% 0.0351 -0.1766) |
| OKLCH | oklch(50.9% 0.18 281.3) |
| XYZ | xyz(17.4106, 12.0302, 56.0370) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.98
Warm Blue
#4B57DB
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.89
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 |
|---|---|---|---|---|
| ##5950C8 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.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