#5D57E2#5D57E2
#5D57E2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.204 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5D57E2 |
|---|---|
| RGB | rgb(93, 87, 226) |
| HSL | hsl(243, 71%, 61%) |
| HSV | hsv(243, 62%, 89%) |
| CMYK | cmyk(58.8%, 61.5%, 0%, 11.4%) |
| CIE-LAB | lab(45.13, 41.86, -70.15) |
| CIE-LCH | lch(45.13, 81.69, 300.82°) |
| OKLab | oklab(54.42% 0.0322 -0.2018) |
| OKLCH | oklch(54.42% 0.204 279.1) |
| XYZ | xyz(21.6455, 14.6330, 73.6206) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.84
Dark Periwinkle
#665FD1
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 3.67
Iris
#6258C4
ΔE00 4.23
Purpleish Blue
#6140EF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D57E2 #DCE257
analogous
#5797E2 #5D57E2 #A357E2
triadic
#5D57E2 #E25D57 #57E25D
tetradic
#5D57E2 #E25797 #DCE257 #57E2A3
square
#5D57E2 #E25797 #DCE257 #57E2A3
split-complementary
#5D57E2 #E2A357 #97E257
monochromatic
#221CA3 #2D25D7 #5D57E2 #8F8BEB #C2BFF4
Accessibility & contrast
On white
5.35
#5D57E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5D57E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D57E2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D57E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D57E2 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5d57e2; /* rgb */ color: rgb(93, 87, 226); /* oklch */ color: oklch(54.4% 0.204 279.1);
Tailwind
colors: {
custom: {
50: '#9787ec',
500: '#5d57e2',
950: '#000000',
},
}SCSS
$custom: #5d57e2; $custom-light: #9787ec; $custom-dark: #000000;
JSON
{
"hex": "#5d57e2",
"rgb": {
"r": 93,
"g": 87,
"b": 226
},
"hsl": {
"h": 242.59,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.54421,
"c": 0.20431,
"h": 279.1
},
"luminance": 0.14635
}Semantic roles & 50–950 ramp
primary
#5D57E2
secondary
#E2E4B0
accent
#D313CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84