#5956E7#5956E7
#5956E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.213 H 277.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5956E7 |
|---|---|
| RGB | rgb(89, 86, 231) |
| HSL | hsl(241, 75%, 62%) |
| HSV | hsv(241, 63%, 91%) |
| CMYK | cmyk(61.5%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(45.01, 43.41, -73.19) |
| CIE-LCH | lch(45.01, 85.09, 300.67°) |
| OKLab | oklab(54.38% 0.028 -0.2108) |
| OKLCH | oklch(54.38% 0.213 277.6) |
| XYZ | xyz(21.8668, 14.5472, 77.2414) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.73
Dark Periwinkle
#665FD1
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.45
Iris
#6258C4
ΔE00 4.91
Electric Blue
#0652FF
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956E7 #E4E756
analogous
#569CE7 #5956E7 #A156E7
triadic
#5956E7 #E75956 #56E759
tetradic
#5956E7 #E7569C #E4E756 #56E7A1
square
#5956E7 #E7569C #E4E756 #56E7A1
split-complementary
#5956E7 #E7A156 #9CE756
monochromatic
#1B18AA #2420DF #5956E7 #8E8CEF #C2C1F6
Accessibility & contrast
On white
5.37
#5956E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5956E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956E7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956E7 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5956e7; /* rgb */ color: rgb(89, 86, 231); /* oklch */ color: oklch(54.4% 0.213 277.6);
Tailwind
colors: {
custom: {
50: '#9686f0',
500: '#5956e7',
950: '#000000',
},
}SCSS
$custom: #5956e7; $custom-light: #9686f0; $custom-dark: #000000;
JSON
{
"hex": "#5956e7",
"rgb": {
"r": 89,
"g": 86,
"b": 231
},
"hsl": {
"h": 241.241,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.54382,
"c": 0.21264,
"h": 277.6
},
"luminance": 0.14549
}Semantic roles & 50–950 ramp
primary
#5956E7
secondary
#E6E7B2
accent
#D70ED3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85