#5B57CD#5B57CD
#5B57CD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.177 H 279.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57CD |
|---|---|
| RGB | rgb(91, 87, 205) |
| HSL | hsl(242, 54%, 57%) |
| HSV | hsv(242, 58%, 80%) |
| CMYK | cmyk(55.6%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(43.43, 34.85, -60.91) |
| CIE-LCH | lch(43.43, 70.18, 299.77°) |
| OKLab | oklab(52.65% 0.0305 -0.1746) |
| OKLCH | oklch(52.65% 0.177 279.9) |
| XYZ | xyz(18.7386, 13.4471, 59.3539) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.81
Slate Blue
#6A5ACD
ΔE00 2.69
Warm Blue
#4B57DB
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 3.22
Bluey Purple
#6241C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57CD #C9CD57
analogous
#578ECD #5B57CD #9657CD
triadic
#5B57CD #CD5B57 #57CD5B
tetradic
#5B57CD #CD578E #C9CD57 #57CD96
square
#5B57CD #CD578E #C9CD57 #57CD96
split-complementary
#5B57CD #CD9657 #8ECD57
monochromatic
#2A2783 #3935B2 #5B57CD #8986DB #B7B5E9
Accessibility & contrast
On white
5.69
#5B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5B57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57CD
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57CD | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#217389
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b57cd; /* rgb */ color: rgb(91, 87, 205); /* oklch */ color: oklch(52.6% 0.177 279.9);
Tailwind
colors: {
custom: {
50: '#9386dd',
500: '#5b57cd',
950: '#000000',
},
}SCSS
$custom: #5b57cd; $custom-light: #9386dd; $custom-dark: #000000;
JSON
{
"hex": "#5b57cd",
"rgb": {
"r": 91,
"g": 87,
"b": 205
},
"hsl": {
"h": 242.034,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.52646,
"c": 0.17729,
"h": 279.9
},
"luminance": 0.13448
}Semantic roles & 50–950 ramp
primary
#5B57CD
secondary
#D6D8A8
accent
#DD4AD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83