#5E56D2#5E56D2
#5E56D2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.185 H 281.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5E56D2 |
|---|---|
| RGB | rgb(94, 86, 210) |
| HSL | hsl(244, 58%, 58%) |
| HSV | hsv(244, 59%, 82%) |
| CMYK | cmyk(55.2%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(43.78, 37.59, -63.21) |
| CIE-LCH | lch(43.78, 73.54, 300.74°) |
| OKLab | oklab(53.08% 0.0351 -0.1813) |
| OKLCH | oklch(53.08% 0.185 281) |
| XYZ | xyz(19.5731, 13.6872, 62.5708) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.20
Slate Blue
#6A5ACD
ΔE00 2.39
Light Indigo
#6D5ACF
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 2.92
Warm Blue
#4B57DB
ΔE00 2.96
Bluey Purple
#6241C7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E56D2 #CAD256
analogous
#568CD2 #5E56D2 #9C56D2
triadic
#5E56D2 #D25E56 #56D25E
tetradic
#5E56D2 #D2568C #CAD256 #56D29C
square
#5E56D2 #D2568C #CAD256 #56D29C
split-complementary
#5E56D2 #D29C56 #8CD256
monochromatic
#2B2589 #3A31B9 #5E56D2 #8C86DF #BAB7EC
Accessibility & contrast
On white
5.62
#5E56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5E56D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E56D2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E56D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E56D2 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#25738C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5e56d2; /* rgb */ color: rgb(94, 86, 210); /* oklch */ color: oklch(53.1% 0.185 281.0);
Tailwind
colors: {
custom: {
50: '#9586e1',
500: '#5e56d2',
950: '#000000',
},
}SCSS
$custom: #5e56d2; $custom-light: #9586e1; $custom-dark: #000000;
JSON
{
"hex": "#5e56d2",
"rgb": {
"r": 94,
"g": 86,
"b": 210
},
"hsl": {
"h": 243.871,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.53077,
"c": 0.18468,
"h": 281
},
"luminance": 0.13688
}Semantic roles & 50–950 ramp
primary
#5E56D2
secondary
#D7DBA9
accent
#E147D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83