#5757CB#5757CB
#5757CB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.175 H 278.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5757CB |
|---|---|
| RGB | rgb(87, 87, 203) |
| HSL | hsl(240, 53%, 57%) |
| HSV | hsv(240, 57%, 80%) |
| CMYK | cmyk(57.1%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.99, 33.46, -60.48) |
| CIE-LCH | lch(42.99, 69.12, 298.95°) |
| OKLab | oklab(52.2% 0.0257 -0.1735) |
| OKLCH | oklch(52.2% 0.175 278.4) |
| XYZ | xyz(18.1147, 13.1532, 58.0726) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.18
Warm Blue
#4B57DB
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.42
Light Indigo
#6D5ACF
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757CB #CBCB57
analogous
#5791CB #5757CB #9157CB
triadic
#5757CB #CB5757 #57CB57
tetradic
#5757CB #CB5791 #CBCB57 #57CB91
square
#5757CB #CB5791 #CBCB57 #57CB91
split-complementary
#5757CB #CB9157 #91CB57
monochromatic
#282880 #3636AF #5757CB #8686D9 #B4B4E8
Accessibility & contrast
On white
5.78
#5757CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5757CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757CB
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757CB | 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)
#006ACF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#117288
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5757cb; /* rgb */ color: rgb(87, 87, 203); /* oklch */ color: oklch(52.2% 0.175 278.4);
Tailwind
colors: {
custom: {
50: '#9086dc',
500: '#5757cb',
950: '#000000',
},
}SCSS
$custom: #5757cb; $custom-light: #9086dc; $custom-dark: #000000;
JSON
{
"hex": "#5757cb",
"rgb": {
"r": 87,
"g": 87,
"b": 203
},
"hsl": {
"h": 240,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.52203,
"c": 0.17539,
"h": 278.4
},
"luminance": 0.13154
}Semantic roles & 50–950 ramp
primary
#5757CB
secondary
#D7D7A7
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83