#5B58AE#5B58AE
#5B58AE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.133 H 282.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58AE |
|---|---|
| RGB | rgb(91, 88, 174) |
| HSL | hsl(242, 35%, 51%) |
| HSV | hsv(242, 49%, 68%) |
| CMYK | cmyk(47.7%, 49.4%, 0%, 31.8%) |
| CIE-LAB | lab(41.62, 24.45, -45.76) |
| CIE-LCH | lch(41.62, 51.88, 298.11°) |
| OKLab | oklab(50.64% 0.0279 -0.1301) |
| OKLCH | oklch(50.64% 0.133 282.1) |
| XYZ | xyz(15.4418, 12.2588, 41.5887) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.69
Slate Blue
#6A5ACD
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 5.98
Twilight
#4E518B
ΔE00 6.39
Warm Blue
#4B57DB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58AE #ABAE58
analogous
#5880AE #5B58AE #8658AE
triadic
#5B58AE #AE5B58 #58AE5B
tetradic
#5B58AE #AE5880 #ABAE58 #58AE86
square
#5B58AE #AE5880 #ABAE58 #58AE86
split-complementary
#5B58AE #AE8658 #80AE58
monochromatic
#2F2E5E #444287 #5B58AE #8381C2 #ACAAD6
Accessibility & contrast
On white
6.08
#5B58AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5B58AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58AE
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58AE | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#3E6A7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b58ae; /* rgb */ color: rgb(91, 88, 174); /* oklch */ color: oklch(50.6% 0.133 282.1);
Tailwind
colors: {
custom: {
50: '#8f87c7',
500: '#5b58ae',
950: '#000000',
},
}SCSS
$custom: #5b58ae; $custom-light: #8f87c7; $custom-dark: #000000;
JSON
{
"hex": "#5b58ae",
"rgb": {
"r": 91,
"g": 88,
"b": 174
},
"hsl": {
"h": 242.093,
"s": 34.677,
"l": 51.373
},
"oklch": {
"l": 0.50643,
"c": 0.13305,
"h": 282.1
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#5B58AE
secondary
#C3C49E
accent
#CB5DC7
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82