#5757C8#5757C8
#5757C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.171 H 278.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5757C8 |
|---|---|
| RGB | rgb(87, 87, 200) |
| HSL | hsl(240, 51%, 56%) |
| HSV | hsv(240, 57%, 78%) |
| CMYK | cmyk(56.5%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.78, 32.49, -59.09) |
| CIE-LCH | lch(42.78, 67.43, 298.80°) |
| OKLab | oklab(51.98% 0.0257 -0.1694) |
| OKLCH | oklch(51.98% 0.171 278.6) |
| XYZ | xyz(17.7607, 13.0116, 56.2080) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 3.57
Light Indigo
#6D5ACF
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757C8 #C8C857
analogous
#5790C8 #5757C8 #9057C8
triadic
#5757C8 #C85757 #57C857
tetradic
#5757C8 #C85790 #C8C857 #57C890
square
#5757C8 #C85790 #C8C857 #57C890
split-complementary
#5757C8 #C89057 #90C857
monochromatic
#29297C #3838AA #5757C8 #8585D7 #B3B3E6
Accessibility & contrast
On white
5.83
#5757C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5757C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757C8
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757C8 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#187187
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5757c8; /* rgb */ color: rgb(87, 87, 200); /* oklch */ color: oklch(52.0% 0.171 278.6);
Tailwind
colors: {
custom: {
50: '#9086d9',
500: '#5757c8',
950: '#000000',
},
}SCSS
$custom: #5757c8; $custom-light: #9086d9; $custom-dark: #000000;
JSON
{
"hex": "#5757c8",
"rgb": {
"r": 87,
"g": 87,
"b": 200
},
"hsl": {
"h": 240,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.51978,
"c": 0.17135,
"h": 278.6
},
"luminance": 0.13013
}Semantic roles & 50–950 ramp
primary
#5757C8
secondary
#D5D5A6
accent
#DA4EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83