#5C57DC#5C57DC
#5C57DC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.197 H 279.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5C57DC |
|---|---|
| RGB | rgb(92, 87, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 60%, 86%) |
| CMYK | cmyk(58.2%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.60, 39.79, -67.60) |
| CIE-LCH | lch(44.60, 78.44, 300.48°) |
| OKLab | oklab(53.87% 0.0314 -0.1943) |
| OKLCH | oklch(53.87% 0.197 279.2) |
| XYZ | xyz(20.7360, 14.2575, 69.3556) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.44
Dark Periwinkle
#665FD1
ΔE00 3.05
Slate Blue
#6A5ACD
ΔE00 3.14
Light Indigo
#6D5ACF
ΔE00 3.38
Iris
#6258C4
ΔE00 3.51
Purpleish Blue
#6140EF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C57DC #D7DC57
analogous
#5794DC #5C57DC #9F57DC
triadic
#5C57DC #DC5C57 #57DC5C
tetradic
#5C57DC #DC5794 #D7DC57 #57DC9F
square
#5C57DC #DC5794 #D7DC57 #57DC9F
split-complementary
#5C57DC #DC9F57 #94DC57
monochromatic
#242099 #302ACB #5C57DC #8D8AE7 #BEBCF1
Accessibility & contrast
On white
5.45
#5C57DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#5C57DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C57DC
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C57DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C57DC | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5c57dc; /* rgb */ color: rgb(92, 87, 220); /* oklch */ color: oklch(53.9% 0.197 279.2);
Tailwind
colors: {
custom: {
50: '#9687e8',
500: '#5c57dc',
950: '#000000',
},
}SCSS
$custom: #5c57dc; $custom-light: #9687e8; $custom-dark: #000000;
JSON
{
"hex": "#5c57dc",
"rgb": {
"r": 92,
"g": 87,
"b": 220
},
"hsl": {
"h": 242.256,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.53874,
"c": 0.1968,
"h": 279.2
},
"luminance": 0.14259
}Semantic roles & 50–950 ramp
primary
#5C57DC
secondary
#DFE1AE
accent
#CD18C7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84