#5757BF#5757BF
#5757BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.159 H 279.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5757BF |
|---|---|
| RGB | rgb(87, 87, 191) |
| HSL | hsl(240, 45%, 55%) |
| HSV | hsv(240, 54%, 75%) |
| CMYK | cmyk(54.5%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.16, 29.58, -54.88) |
| CIE-LCH | lch(42.16, 62.34, 298.33°) |
| OKLab | oklab(51.32% 0.0255 -0.157) |
| OKLCH | oklch(51.32% 0.159 279.2) |
| XYZ | xyz(16.7397, 12.6032, 50.8307) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757BF #BFBF57
analogous
#578BBF #5757BF #8B57BF
triadic
#5757BF #BF5757 #57BF57
tetradic
#5757BF #BF578B #BFBF57 #57BF8B
square
#5757BF #BF578B #BFBF57 #57BF8B
split-complementary
#5757BF #BF8B57 #8BBF57
monochromatic
#2B2B71 #3C3C9D #5757BF #8383D0 #B0B0E1
Accessibility & contrast
On white
5.96
#5757BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5757BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757BF
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757BF | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#266F82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5757bf; /* rgb */ color: rgb(87, 87, 191); /* oklch */ color: oklch(51.3% 0.159 279.2);
Tailwind
colors: {
custom: {
50: '#8f86d3',
500: '#5757bf',
950: '#000000',
},
}SCSS
$custom: #5757bf; $custom-light: #8f86d3; $custom-dark: #000000;
JSON
{
"hex": "#5757bf",
"rgb": {
"r": 87,
"g": 87,
"b": 191
},
"hsl": {
"h": 240,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.51318,
"c": 0.15905,
"h": 279.2
},
"luminance": 0.12604
}Semantic roles & 50–950 ramp
primary
#5757BF
secondary
#CFCFA3
accent
#D553D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83