#5956E8#5956E8
#5956E8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.214 H 277.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5956E8 |
|---|---|
| RGB | rgb(89, 86, 232) |
| HSL | hsl(241, 76%, 62%) |
| HSV | hsv(241, 63%, 91%) |
| CMYK | cmyk(61.6%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(45.09, 43.73, -73.62) |
| CIE-LCH | lch(45.09, 85.63, 300.71°) |
| OKLab | oklab(54.47% 0.0279 -0.2121) |
| OKLCH | oklch(54.47% 0.214 277.5) |
| XYZ | xyz(22.0084, 14.6039, 77.9873) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.52
Iris
#6258C4
ΔE00 5.03
Electric Blue
#0652FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956E8 #E5E856
analogous
#569CE8 #5956E8 #A256E8
triadic
#5956E8 #E85956 #56E859
tetradic
#5956E8 #E8569C #E5E856 #56E8A2
square
#5956E8 #E8569C #E5E856 #56E8A2
split-complementary
#5956E8 #E8A256 #9CE856
monochromatic
#1A17AC #2420E1 #5956E8 #8E8CEF #C3C2F7
Accessibility & contrast
On white
5.36
#5956E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5956E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956E8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956E8 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5956e8; /* rgb */ color: rgb(89, 86, 232); /* oklch */ color: oklch(54.5% 0.214 277.5);
Tailwind
colors: {
custom: {
50: '#9686f0',
500: '#5956e8',
950: '#000000',
},
}SCSS
$custom: #5956e8; $custom-light: #9686f0; $custom-dark: #000000;
JSON
{
"hex": "#5956e8",
"rgb": {
"r": 89,
"g": 86,
"b": 232
},
"hsl": {
"h": 241.233,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.54465,
"c": 0.2139,
"h": 277.5
},
"luminance": 0.14606
}Semantic roles & 50–950 ramp
primary
#5956E8
secondary
#E6E8B2
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85