#5B58BB#5B58BB
#5B58BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.151 H 281.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58BB |
|---|---|
| RGB | rgb(91, 88, 187) |
| HSL | hsl(242, 42%, 54%) |
| HSV | hsv(242, 53%, 73%) |
| CMYK | cmyk(51.3%, 52.9%, 0%, 26.7%) |
| CIE-LAB | lab(42.45, 28.52, -52.07) |
| CIE-LCH | lch(42.45, 59.37, 298.71°) |
| OKLab | oklab(51.52% 0.029 -0.1486) |
| OKLCH | oklch(51.52% 0.151 281) |
| XYZ | xyz(16.7710, 12.7905, 48.5892) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.88
Slate Blue
#6A5ACD
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58BB #B8BB58
analogous
#5887BB #5B58BB #8D58BB
triadic
#5B58BB #BB5B58 #58BB5B
tetradic
#5B58BB #BB5887 #B8BB58 #58BB8D
square
#5B58BB #BB5887 #B8BB58 #58BB8D
split-complementary
#5B58BB #BB8D58 #87BB58
monochromatic
#2E2C6C #413E98 #5B58BB #8683CD #B0AFDE
Accessibility & contrast
On white
5.90
#5B58BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5B58BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58BB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58BB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2368BE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#356E81
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b58bb; /* rgb */ color: rgb(91, 88, 187); /* oklch */ color: oklch(51.5% 0.151 281.0);
Tailwind
colors: {
custom: {
50: '#9087d0',
500: '#5b58bb',
950: '#000000',
},
}SCSS
$custom: #5b58bb; $custom-light: #9087d0; $custom-dark: #000000;
JSON
{
"hex": "#5b58bb",
"rgb": {
"r": 91,
"g": 88,
"b": 187
},
"hsl": {
"h": 241.818,
"s": 42.128,
"l": 53.922
},
"oklch": {
"l": 0.51524,
"c": 0.15142,
"h": 281
},
"luminance": 0.12791
}Semantic roles & 50–950 ramp
primary
#5B58BB
secondary
#CBCDA2
accent
#D256CE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82