#5950E2#5950E2
#5950E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.213 H 279.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5950E2 |
|---|---|
| RGB | rgb(89, 80, 226) |
| HSL | hsl(244, 72%, 60%) |
| HSV | hsv(244, 65%, 89%) |
| CMYK | cmyk(60.6%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(43.29, 45.33, -73.16) |
| CIE-LCH | lch(43.29, 86.07, 301.78°) |
| OKLab | oklab(53.01% 0.0333 -0.2107) |
| OKLCH | oklch(53.01% 0.213 279) |
| XYZ | xyz(20.7116, 13.3506, 73.4223) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.19
Purpleish Blue
#6140EF
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 4.64
Iris
#6258C4
ΔE00 4.71
Dark Periwinkle
#665FD1
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950E2 #D9E250
analogous
#5090E2 #5950E2 #A250E2
triadic
#5950E2 #E25950 #50E259
tetradic
#5950E2 #E25090 #D9E250 #50E2A2
square
#5950E2 #E25090 #D9E250 #50E2A2
split-complementary
#5950E2 #E2A250 #90E250
monochromatic
#221A9E #2E23D2 #5950E2 #8B84EB #BDB9F3
Accessibility & contrast
On white
5.72
#5950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5950E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950E2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950E2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5950e2; /* rgb */ color: rgb(89, 80, 226); /* oklch */ color: oklch(53.0% 0.213 279.0);
Tailwind
colors: {
custom: {
50: '#9682ec',
500: '#5950e2',
950: '#000000',
},
}SCSS
$custom: #5950e2; $custom-light: #9682ec; $custom-dark: #000000;
JSON
{
"hex": "#5950e2",
"rgb": {
"r": 89,
"g": 80,
"b": 226
},
"hsl": {
"h": 243.699,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.53005,
"c": 0.21335,
"h": 279
},
"luminance": 0.13352
}Semantic roles & 50–950 ramp
primary
#5950E2
secondary
#E0E3AB
accent
#EE39E3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84