#5E56DC#5E56DC
#5E56DC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.9% C 0.198 H 280.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5E56DC |
|---|---|
| RGB | rgb(94, 86, 220) |
| HSL | hsl(244, 66%, 60%) |
| HSV | hsv(244, 61%, 86%) |
| CMYK | cmyk(57.3%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(44.52, 40.73, -67.72) |
| CIE-LCH | lch(44.52, 79.03, 301.02°) |
| OKLab | oklab(53.85% 0.0347 -0.1946) |
| OKLCH | oklch(53.85% 0.198 280.1) |
| XYZ | xyz(20.8581, 14.2011, 69.3382) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.80
Slate Blue
#6A5ACD
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.17
Light Indigo
#6D5ACF
ΔE00 3.19
Iris
#6258C4
ΔE00 3.47
Purpleish Blue
#6140EF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E56DC #D4DC56
analogous
#5691DC #5E56DC #A156DC
triadic
#5E56DC #DC5E56 #56DC5E
tetradic
#5E56DC #DC5691 #D4DC56 #56DCA1
square
#5E56DC #DC5691 #D4DC56 #56DCA1
split-complementary
#5E56DC #DCA156 #91DC56
monochromatic
#272098 #342ACB #5E56DC #8E89E6 #BFBBF1
Accessibility & contrast
On white
5.47
#5E56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5E56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E56DC
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E56DC | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#117791
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5e56dc; /* rgb */ color: rgb(94, 86, 220); /* oklch */ color: oklch(53.9% 0.198 280.1);
Tailwind
colors: {
custom: {
50: '#9786e8',
500: '#5e56dc',
950: '#000000',
},
}SCSS
$custom: #5e56dc; $custom-light: #9786e8; $custom-dark: #000000;
JSON
{
"hex": "#5e56dc",
"rgb": {
"r": 94,
"g": 86,
"b": 220
},
"hsl": {
"h": 243.582,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.53853,
"c": 0.19767,
"h": 280.1
},
"luminance": 0.14203
}Semantic roles & 50–950 ramp
primary
#5E56DC
secondary
#DEE1AD
accent
#E93FDF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84