#5950E3#5950E3
#5950E3 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.215 H 278.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5950E3 |
|---|---|
| RGB | rgb(89, 80, 227) |
| HSL | hsl(244, 72%, 60%) |
| HSV | hsv(244, 65%, 89%) |
| CMYK | cmyk(60.8%, 64.8%, 0%, 11%) |
| CIE-LAB | lab(43.37, 45.65, -73.60) |
| CIE-LCH | lch(43.37, 86.61, 301.81°) |
| OKLab | oklab(53.09% 0.0332 -0.212) |
| OKLCH | oklch(53.09% 0.215 278.9) |
| XYZ | xyz(20.8492, 13.4056, 74.1470) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.23
Purpleish Blue
#6140EF
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.56
Light Indigo
#6D5ACF
ΔE00 4.69
Iris
#6258C4
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950E3 #DAE350
analogous
#5091E3 #5950E3 #A250E3
triadic
#5950E3 #E35950 #50E359
tetradic
#5950E3 #E35091 #DAE350 #50E3A2
square
#5950E3 #E35091 #DAE350 #50E3A2
split-complementary
#5950E3 #E3A250 #91E350
monochromatic
#22199F #2D22D4 #5950E3 #8B85EB #BDBAF4
Accessibility & contrast
On white
5.70
#5950E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5950E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950E3
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950E3 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5950e3; /* rgb */ color: rgb(89, 80, 227); /* oklch */ color: oklch(53.1% 0.215 278.9);
Tailwind
colors: {
custom: {
50: '#9682ed',
500: '#5950e3',
950: '#000000',
},
}SCSS
$custom: #5950e3; $custom-light: #9682ed; $custom-dark: #000000;
JSON
{
"hex": "#5950e3",
"rgb": {
"r": 89,
"g": 80,
"b": 227
},
"hsl": {
"h": 243.673,
"s": 72.414,
"l": 60.196
},
"oklch": {
"l": 0.53089,
"c": 0.2146,
"h": 278.9
},
"luminance": 0.13407
}Semantic roles & 50–950 ramp
primary
#5950E3
secondary
#E0E4AB
accent
#D411C9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84