#5C57CF#5C57CF
#5C57CF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.180 H 280.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5C57CF |
|---|---|
| RGB | rgb(92, 87, 207) |
| HSL | hsl(243, 56%, 58%) |
| HSV | hsv(243, 58%, 81%) |
| CMYK | cmyk(55.6%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(43.65, 35.67, -61.71) |
| CIE-LCH | lch(43.65, 71.27, 300.03°) |
| OKLab | oklab(52.87% 0.0317 -0.177) |
| OKLCH | oklch(52.87% 0.18 280.2) |
| XYZ | xyz(19.0808, 13.5955, 60.6381) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.93
Slate Blue
#6A5ACD
ΔE00 2.53
Warm Blue
#4B57DB
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.03
Bluey Purple
#6241C7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C57CF #CACF57
analogous
#578ECF #5C57CF #9857CF
triadic
#5C57CF #CF5C57 #57CF5C
tetradic
#5C57CF #CF578E #CACF57 #57CF98
square
#5C57CF #CF578E #CACF57 #57CF98
split-complementary
#5C57CF #CF9857 #8ECF57
monochromatic
#2A2685 #3934B5 #5C57CF #8A87DD #B8B6EA
Accessibility & contrast
On white
5.65
#5C57CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5C57CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C57CF
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C57CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C57CF | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#21738A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5c57cf; /* rgb */ color: rgb(92, 87, 207); /* oklch */ color: oklch(52.9% 0.180 280.2);
Tailwind
colors: {
custom: {
50: '#9486de',
500: '#5c57cf',
950: '#000000',
},
}SCSS
$custom: #5c57cf; $custom-light: #9486de; $custom-dark: #000000;
JSON
{
"hex": "#5c57cf",
"rgb": {
"r": 92,
"g": 87,
"b": 207
},
"hsl": {
"h": 242.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.52871,
"c": 0.17978,
"h": 280.2
},
"luminance": 0.13597
}Semantic roles & 50–950 ramp
primary
#5C57CF
secondary
#D7D9A9
accent
#DF49D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83