#5857C8#5857C8
#5857C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.171 H 279.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5857C8 |
|---|---|
| RGB | rgb(88, 87, 200) |
| HSL | hsl(241, 51%, 56%) |
| HSV | hsv(241, 57%, 78%) |
| CMYK | cmyk(56%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.85, 32.68, -58.97) |
| CIE-LCH | lch(42.85, 67.42, 298.99°) |
| OKLab | oklab(52.05% 0.0269 -0.169) |
| OKLCH | oklch(52.05% 0.171 279) |
| XYZ | xyz(17.8547, 13.0600, 56.2124) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.87
Warm Blue
#4B57DB
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857C8 #C7C857
analogous
#578FC8 #5857C8 #9157C8
triadic
#5857C8 #C85857 #57C858
tetradic
#5857C8 #C8578F #C7C857 #57C891
square
#5857C8 #C8578F #C7C857 #57C891
split-complementary
#5857C8 #C89157 #8FC857
monochromatic
#29297C #3938AA #5857C8 #8685D7 #B4B3E6
Accessibility & contrast
On white
5.81
#5857C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5857C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857C8
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857C8 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#1D7187
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5857c8; /* rgb */ color: rgb(88, 87, 200); /* oklch */ color: oklch(52.1% 0.171 279.0);
Tailwind
colors: {
custom: {
50: '#9186d9',
500: '#5857c8',
950: '#000000',
},
}SCSS
$custom: #5857c8; $custom-light: #9186d9; $custom-dark: #000000;
JSON
{
"hex": "#5857c8",
"rgb": {
"r": 88,
"g": 87,
"b": 200
},
"hsl": {
"h": 240.531,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.52051,
"c": 0.17115,
"h": 279
},
"luminance": 0.13061
}Semantic roles & 50–950 ramp
primary
#5857C8
secondary
#D4D5A6
accent
#DA4ED9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83