#5B58BF#5B58BF
#5B58BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.157 H 280.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58BF |
|---|---|
| RGB | rgb(91, 88, 191) |
| HSL | hsl(242, 45%, 55%) |
| HSV | hsv(242, 54%, 75%) |
| CMYK | cmyk(52.4%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(42.71, 29.78, -53.97) |
| CIE-LCH | lch(42.71, 61.65, 298.89°) |
| OKLab | oklab(51.81% 0.0292 -0.1542) |
| OKLCH | oklch(51.81% 0.157 280.7) |
| XYZ | xyz(17.2052, 12.9642, 50.8759) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.50
Slate Blue
#6A5ACD
ΔE00 3.40
Dark Periwinkle
#665FD1
ΔE00 3.77
Light Indigo
#6D5ACF
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58BF #BCBF58
analogous
#5888BF #5B58BF #8F58BF
triadic
#5B58BF #BF5B58 #58BF5B
tetradic
#5B58BF #BF5888 #BCBF58 #58BF8F
square
#5B58BF #BF5888 #BCBF58 #58BF8F
split-complementary
#5B58BF #BF8F58 #88BF58
monochromatic
#2D2B71 #3F3C9D #5B58BF #8684D0 #B2B0E1
Accessibility & contrast
On white
5.84
#5B58BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5B58BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58BF
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58BF | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#316F83
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b58bf; /* rgb */ color: rgb(91, 88, 191); /* oklch */ color: oklch(51.8% 0.157 280.7);
Tailwind
colors: {
custom: {
50: '#9187d3',
500: '#5b58bf',
950: '#000000',
},
}SCSS
$custom: #5b58bf; $custom-light: #9187d3; $custom-dark: #000000;
JSON
{
"hex": "#5b58bf",
"rgb": {
"r": 91,
"g": 88,
"b": 191
},
"hsl": {
"h": 241.748,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.51805,
"c": 0.15697,
"h": 280.7
},
"luminance": 0.12965
}Semantic roles & 50–950 ramp
primary
#5B58BF
secondary
#CECFA4
accent
#D454D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83