#5B57DC#5B57DC
#5B57DC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.197 H 278.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57DC |
|---|---|
| RGB | rgb(91, 87, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 60%, 86%) |
| CMYK | cmyk(58.6%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.53, 39.62, -67.72) |
| CIE-LCH | lch(44.53, 78.46, 300.33°) |
| OKLab | oklab(53.8% 0.0301 -0.1947) |
| OKLCH | oklch(53.8% 0.197 278.8) |
| XYZ | xyz(20.6367, 14.2064, 69.3509) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Dark Periwinkle
#665FD1
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 3.50
Iris
#6258C4
ΔE00 3.54
Electric Blue
#0652FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57DC #D8DC57
analogous
#5795DC #5B57DC #9E57DC
triadic
#5B57DC #DC5B57 #57DC5B
tetradic
#5B57DC #DC5795 #D8DC57 #57DC9E
square
#5B57DC #DC5795 #D8DC57 #57DC9E
split-complementary
#5B57DC #DC9E57 #95DC57
monochromatic
#232099 #2F2ACB #5B57DC #8C8AE7 #BEBCF1
Accessibility & contrast
On white
5.47
#5B57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#5B57DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57DC
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57DC | 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)
#006FE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b57dc; /* rgb */ color: rgb(91, 87, 220); /* oklch */ color: oklch(53.8% 0.197 278.8);
Tailwind
colors: {
custom: {
50: '#9587e8',
500: '#5b57dc',
950: '#000000',
},
}SCSS
$custom: #5b57dc; $custom-light: #9587e8; $custom-dark: #000000;
JSON
{
"hex": "#5b57dc",
"rgb": {
"r": 91,
"g": 87,
"b": 220
},
"hsl": {
"h": 241.805,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.53802,
"c": 0.19699,
"h": 278.8
},
"luminance": 0.14208
}Semantic roles & 50–950 ramp
primary
#5B57DC
secondary
#DFE1AE
accent
#CD18C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84