#5757AF#5757AF
#5757AF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.137 H 280.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5757AF |
|---|---|
| RGB | rgb(87, 87, 175) |
| HSL | hsl(240, 35%, 51%) |
| HSV | hsv(240, 50%, 69%) |
| CMYK | cmyk(50.3%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(41.12, 24.46, -47.18) |
| CIE-LCH | lch(41.12, 53.14, 297.40°) |
| OKLab | oklab(50.2% 0.0244 -0.1344) |
| OKLCH | oklch(50.2% 0.137 280.3) |
| XYZ | xyz(15.0742, 11.9369, 42.0589) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 5.68
Dark Periwinkle
#665FD1
ΔE00 6.05
Light Indigo
#6D5ACF
ΔE00 6.25
Twilight
#4E518B
ΔE00 6.38
Warm Blue
#4B57DB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757AF #AFAF57
analogous
#5783AF #5757AF #8357AF
triadic
#5757AF #AF5757 #57AF57
tetradic
#5757AF #AF5783 #AFAF57 #57AF83
square
#5757AF #AF5783 #AFAF57 #57AF83
split-complementary
#5757AF #AF8357 #83AF57
monochromatic
#2D2D5F #414188 #5757AF #8080C3 #AAAAD6
Accessibility & contrast
On white
6.20
#5757AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5757AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757AF
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757AF | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E64B2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#356A7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5757af; /* rgb */ color: rgb(87, 87, 175); /* oklch */ color: oklch(50.2% 0.137 280.3);
Tailwind
colors: {
custom: {
50: '#8c86c7',
500: '#5757af',
950: '#000000',
},
}SCSS
$custom: #5757af; $custom-light: #8c86c7; $custom-dark: #000000;
JSON
{
"hex": "#5757af",
"rgb": {
"r": 87,
"g": 87,
"b": 175
},
"hsl": {
"h": 240,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.50201,
"c": 0.13658,
"h": 280.3
},
"luminance": 0.11938
}Semantic roles & 50–950 ramp
primary
#5757AF
secondary
#C4C49E
accent
#CC5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82