#5B57BB#5B57BB
#5B57BB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.153 H 281.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5B57BB |
|---|---|
| RGB | rgb(91, 87, 187) |
| HSL | hsl(242, 42%, 54%) |
| HSV | hsv(242, 53%, 73%) |
| CMYK | cmyk(51.3%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(42.20, 29.14, -52.47) |
| CIE-LCH | lch(42.20, 60.02, 299.05°) |
| OKLab | oklab(51.34% 0.0301 -0.1498) |
| OKLCH | oklch(51.34% 0.153 281.4) |
| XYZ | xyz(16.6895, 12.6275, 48.5620) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.84
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B57BB #B7BB57
analogous
#5785BB #5B57BB #8D57BB
triadic
#5B57BB #BB5B57 #57BB5B
tetradic
#5B57BB #BB5785 #B7BB57 #57BB8D
square
#5B57BB #BB5785 #B7BB57 #57BB8D
split-complementary
#5B57BB #BB8D57 #85BB57
monochromatic
#2E2C6C #413D97 #5B57BB #8683CD #B0AEDE
Accessibility & contrast
On white
5.96
#5B57BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5B57BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B57BB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B57BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B57BB | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#356D80
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b57bb; /* rgb */ color: rgb(91, 87, 187); /* oklch */ color: oklch(51.3% 0.153 281.4);
Tailwind
colors: {
custom: {
50: '#9086d0',
500: '#5b57bb',
950: '#000000',
},
}SCSS
$custom: #5b57bb; $custom-light: #9086d0; $custom-dark: #000000;
JSON
{
"hex": "#5b57bb",
"rgb": {
"r": 91,
"g": 87,
"b": 187
},
"hsl": {
"h": 242.4,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.51337,
"c": 0.15281,
"h": 281.4
},
"luminance": 0.12628
}Semantic roles & 50–950 ramp
primary
#5B57BB
secondary
#CBCCA2
accent
#D256CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82