#5950CF#5950CF
#5950CF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.189 H 280.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5950CF |
|---|---|
| RGB | rgb(89, 80, 207) |
| HSL | hsl(244, 57%, 56%) |
| HSV | hsv(244, 61%, 81%) |
| CMYK | cmyk(57%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.79, 39.35, -64.73) |
| CIE-LCH | lch(41.79, 75.75, 301.29°) |
| OKLab | oklab(51.45% 0.0348 -0.186) |
| OKLCH | oklch(51.45% 0.189 280.6) |
| XYZ | xyz(18.2474, 12.3649, 60.4445) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.08
Warm Blue
#4B57DB
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.24
Bluey Purple
#6241C7
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950CF #C6CF50
analogous
#5087CF #5950CF #9950CF
triadic
#5950CF #CF5950 #50CF59
tetradic
#5950CF #CF5087 #C6CF50 #50CF99
square
#5950CF #CF5087 #C6CF50 #50CF99
split-complementary
#5950CF #CF9950 #87CF50
monochromatic
#2A2381 #3A31B1 #5950CF #8780DC #B4B0E9
Accessibility & contrast
On white
6.05
#5950CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5950CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950CF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950CF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#156F88
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5950cf; /* rgb */ color: rgb(89, 80, 207); /* oklch */ color: oklch(51.4% 0.189 280.6);
Tailwind
colors: {
custom: {
50: '#9381df',
500: '#5950cf',
950: '#000000',
},
}SCSS
$custom: #5950cf; $custom-light: #9381df; $custom-dark: #000000;
JSON
{
"hex": "#5950cf",
"rgb": {
"r": 89,
"g": 80,
"b": 207
},
"hsl": {
"h": 244.252,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.51447,
"c": 0.18922,
"h": 280.6
},
"luminance": 0.12366
}Semantic roles & 50–950 ramp
primary
#5950CF
secondary
#D4D8A3
accent
#E048D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83