#5757AE#5757AE
#5757AE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.135 H 280.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5757AE |
|---|---|
| RGB | rgb(87, 87, 174) |
| HSL | hsl(240, 35%, 51%) |
| HSV | hsv(240, 50%, 68%) |
| CMYK | cmyk(50%, 50%, 0%, 31.8%) |
| CIE-LAB | lab(41.05, 24.14, -46.69) |
| CIE-LCH | lch(41.05, 52.56, 297.34°) |
| OKLab | oklab(50.13% 0.0243 -0.1329) |
| OKLCH | oklch(50.13% 0.135 280.4) |
| XYZ | xyz(14.9763, 11.8978, 41.5436) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 5.81
Dark Periwinkle
#665FD1
ΔE00 6.18
Twilight
#4E518B
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757AE #AEAE57
analogous
#5782AE #5757AE #8257AE
triadic
#5757AE #AE5757 #57AE57
tetradic
#5757AE #AE5782 #AEAE57 #57AE82
square
#5757AE #AE5782 #AEAE57 #57AE82
split-complementary
#5757AE #AE8257 #82AE57
monochromatic
#2D2D5E #414187 #5757AE #8080C2 #AAAAD6
Accessibility & contrast
On white
6.21
#5757AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5757AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757AE
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757AE | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#366A7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5757ae; /* rgb */ color: rgb(87, 87, 174); /* oklch */ color: oklch(50.1% 0.135 280.4);
Tailwind
colors: {
custom: {
50: '#8c86c7',
500: '#5757ae',
950: '#000000',
},
}SCSS
$custom: #5757ae; $custom-light: #8c86c7; $custom-dark: #000000;
JSON
{
"hex": "#5757ae",
"rgb": {
"r": 87,
"g": 87,
"b": 174
},
"hsl": {
"h": 240,
"s": 34.94,
"l": 51.176
},
"oklch": {
"l": 0.50134,
"c": 0.13514,
"h": 280.4
},
"luminance": 0.11899
}Semantic roles & 50–950 ramp
primary
#5757AE
secondary
#C4C49D
accent
#CB5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82