#5E57DC#5E57DC
#5E57DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.196 H 279.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5E57DC |
|---|---|
| RGB | rgb(94, 87, 220) |
| HSL | hsl(243, 66%, 60%) |
| HSV | hsv(243, 60%, 86%) |
| CMYK | cmyk(57.3%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.75, 40.13, -67.35) |
| CIE-LCH | lch(44.75, 78.40, 300.79°) |
| OKLab | oklab(54.02% 0.0338 -0.1935) |
| OKLCH | oklch(54.02% 0.196 279.9) |
| XYZ | xyz(20.9385, 14.3620, 69.3650) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 2.95
Light Indigo
#6D5ACF
ΔE00 3.14
Iris
#6258C4
ΔE00 3.45
Purpleish Blue
#6140EF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E57DC #D5DC57
analogous
#5792DC #5E57DC #A157DC
triadic
#5E57DC #DC5E57 #57DC5E
tetradic
#5E57DC #DC5792 #D5DC57 #57DCA1
square
#5E57DC #DC5792 #D5DC57 #57DCA1
split-complementary
#5E57DC #DCA157 #92DC57
monochromatic
#262099 #332ACB #5E57DC #8F8AE7 #BFBCF1
Accessibility & contrast
On white
5.42
#5E57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5E57DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E57DC
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E57DC | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#107791
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5e57dc; /* rgb */ color: rgb(94, 87, 220); /* oklch */ color: oklch(54.0% 0.196 279.9);
Tailwind
colors: {
custom: {
50: '#9787e8',
500: '#5e57dc',
950: '#000000',
},
}SCSS
$custom: #5e57dc; $custom-light: #9787e8; $custom-dark: #000000;
JSON
{
"hex": "#5e57dc",
"rgb": {
"r": 94,
"g": 87,
"b": 220
},
"hsl": {
"h": 243.158,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.5402,
"c": 0.19643,
"h": 279.9
},
"luminance": 0.14363
}Semantic roles & 50–950 ramp
primary
#5E57DC
secondary
#DEE1AE
accent
#CD18C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84