#5C57E7#5C57E7
#5C57E7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.211 H 278.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5C57E7 |
|---|---|
| RGB | rgb(92, 87, 231) |
| HSL | hsl(242, 75%, 62%) |
| HSV | hsv(242, 62%, 91%) |
| CMYK | cmyk(60.2%, 62.3%, 0%, 9.4%) |
| CIE-LAB | lab(45.44, 43.28, -72.47) |
| CIE-LCH | lch(45.44, 84.41, 300.85°) |
| OKLab | oklab(54.75% 0.0307 -0.2086) |
| OKLCH | oklch(54.75% 0.211 278.4) |
| XYZ | xyz(22.2410, 14.8595, 77.2820) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.17
Iris
#6258C4
ΔE00 4.86
Electric Blue
#0652FF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C57E7 #E2E757
analogous
#579AE7 #5C57E7 #A457E7
triadic
#5C57E7 #E75C57 #57E75C
tetradic
#5C57E7 #E7579A #E2E757 #57E7A4
square
#5C57E7 #E7579A #E2E757 #57E7A4
split-complementary
#5C57E7 #E7A457 #9AE757
monochromatic
#1E18AB #2821DF #5C57E7 #908DEF #C4C2F6
Accessibility & contrast
On white
5.29
#5C57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5C57E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C57E7
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C57E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C57E7 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5c57e7; /* rgb */ color: rgb(92, 87, 231); /* oklch */ color: oklch(54.8% 0.211 278.4);
Tailwind
colors: {
custom: {
50: '#9887f0',
500: '#5c57e7',
950: '#000000',
},
}SCSS
$custom: #5c57e7; $custom-light: #9887f0; $custom-dark: #000000;
JSON
{
"hex": "#5c57e7",
"rgb": {
"r": 92,
"g": 87,
"b": 231
},
"hsl": {
"h": 242.083,
"s": 75,
"l": 62.353
},
"oklch": {
"l": 0.54753,
"c": 0.21085,
"h": 278.4
},
"luminance": 0.14861
}Semantic roles & 50–950 ramp
primary
#5C57E7
secondary
#E5E7B3
accent
#D70ED0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85