#5757BB#5757BB
#5757BB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.154 H 279.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5757BB |
|---|---|
| RGB | rgb(87, 87, 187) |
| HSL | hsl(240, 42%, 54%) |
| HSV | hsv(240, 53%, 73%) |
| CMYK | cmyk(53.5%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(41.89, 28.29, -52.98) |
| CIE-LCH | lch(41.89, 60.06, 298.11°) |
| OKLab | oklab(51.03% 0.0253 -0.1514) |
| OKLCH | oklch(51.03% 0.154 279.5) |
| XYZ | xyz(16.3055, 12.4295, 48.5440) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.40
Slate Blue
#6A5ACD
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5757BB #BBBB57
analogous
#5789BB #5757BB #8957BB
triadic
#5757BB #BB5757 #57BB57
tetradic
#5757BB #BB5789 #BBBB57 #57BB89
square
#5757BB #BB5789 #BBBB57 #57BB89
split-complementary
#5757BB #BB8957 #89BB57
monochromatic
#2C2C6C #3D3D97 #5757BB #8383CD #AEAEDE
Accessibility & contrast
On white
6.02
#5757BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5757BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5757BB
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5757BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5757BB | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#2A6E80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5757bb; /* rgb */ color: rgb(87, 87, 187); /* oklch */ color: oklch(51.0% 0.154 279.5);
Tailwind
colors: {
custom: {
50: '#8e86d0',
500: '#5757bb',
950: '#000000',
},
}SCSS
$custom: #5757bb; $custom-light: #8e86d0; $custom-dark: #000000;
JSON
{
"hex": "#5757bb",
"rgb": {
"r": 87,
"g": 87,
"b": 187
},
"hsl": {
"h": 240,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.51031,
"c": 0.15351,
"h": 279.5
},
"luminance": 0.1243
}Semantic roles & 50–950 ramp
primary
#5757BB
secondary
#CCCCA2
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82