#5956E3#5956E3
#5956E3 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.208 H 277.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5956E3 |
|---|---|
| RGB | rgb(89, 86, 227) |
| HSL | hsl(241, 72%, 61%) |
| HSV | hsv(241, 62%, 89%) |
| CMYK | cmyk(60.8%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(44.69, 42.13, -71.43) |
| CIE-LCH | lch(44.69, 82.93, 300.53°) |
| OKLab | oklab(54.06% 0.0283 -0.2056) |
| OKLCH | oklch(54.06% 0.208 277.8) |
| XYZ | xyz(21.3083, 14.3238, 74.3001) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.17
Iris
#6258C4
ΔE00 4.45
Electric Blue
#0652FF
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5956E3 #E0E356
analogous
#569AE3 #5956E3 #A056E3
triadic
#5956E3 #E35956 #56E359
tetradic
#5956E3 #E3569A #E0E356 #56E3A0
square
#5956E3 #E3569A #E0E356 #56E3A0
split-complementary
#5956E3 #E3A056 #9AE356
monochromatic
#1E1BA4 #2824D8 #5956E3 #8D8BEC #C0BFF4
Accessibility & contrast
On white
5.43
#5956E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5956E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5956E3
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5956E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5956E3 | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5956e3; /* rgb */ color: rgb(89, 86, 227); /* oklch */ color: oklch(54.1% 0.208 277.8);
Tailwind
colors: {
custom: {
50: '#9586ed',
500: '#5956e3',
950: '#000000',
},
}SCSS
$custom: #5956e3; $custom-light: #9586ed; $custom-dark: #000000;
JSON
{
"hex": "#5956e3",
"rgb": {
"r": 89,
"g": 86,
"b": 227
},
"hsl": {
"h": 241.277,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.54055,
"c": 0.20757,
"h": 277.8
},
"luminance": 0.14325
}Semantic roles & 50–950 ramp
primary
#5956E3
secondary
#E4E5B0
accent
#D412CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84