#5857CA#5857CA
#5857CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.174 H 278.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5857CA |
|---|---|
| RGB | rgb(88, 87, 202) |
| HSL | hsl(241, 52%, 57%) |
| HSV | hsv(241, 57%, 79%) |
| CMYK | cmyk(56.4%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.99, 33.32, -59.90) |
| CIE-LCH | lch(42.99, 68.54, 299.09°) |
| OKLab | oklab(52.2% 0.0269 -0.1718) |
| OKLCH | oklch(52.2% 0.174 278.9) |
| XYZ | xyz(18.0900, 13.1541, 57.4514) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.97
Warm Blue
#4B57DB
ΔE00 2.77
Slate Blue
#6A5ACD
ΔE00 3.22
Dark Periwinkle
#665FD1
ΔE00 3.37
Light Indigo
#6D5ACF
ΔE00 3.79
Bluey Purple
#6241C7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857CA #C9CA57
analogous
#5790CA #5857CA #9257CA
triadic
#5857CA #CA5857 #57CA58
tetradic
#5857CA #CA5790 #C9CA57 #57CA92
square
#5857CA #CA5790 #C9CA57 #57CA92
split-complementary
#5857CA #CA9257 #90CA57
monochromatic
#29287F #3837AD #5857CA #8686D9 #B4B4E7
Accessibility & contrast
On white
5.78
#5857CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5857CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857CA
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857CA | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#197288
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5857ca; /* rgb */ color: rgb(88, 87, 202); /* oklch */ color: oklch(52.2% 0.174 278.9);
Tailwind
colors: {
custom: {
50: '#9186db',
500: '#5857ca',
950: '#000000',
},
}SCSS
$custom: #5857ca; $custom-light: #9186db; $custom-dark: #000000;
JSON
{
"hex": "#5857ca",
"rgb": {
"r": 88,
"g": 87,
"b": 202
},
"hsl": {
"h": 240.522,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.522,
"c": 0.17384,
"h": 278.9
},
"luminance": 0.13155
}Semantic roles & 50–950 ramp
primary
#5857CA
secondary
#D6D6A7
accent
#DB4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83