#5B58DB#5B58DB
#5B58DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.194 H 278.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58DB |
|---|---|
| RGB | rgb(91, 88, 219) |
| HSL | hsl(241, 65%, 60%) |
| HSV | hsv(241, 60%, 86%) |
| CMYK | cmyk(58.4%, 59.8%, 0%, 14.1%) |
| CIE-LAB | lab(44.68, 38.71, -66.90) |
| CIE-LCH | lch(44.68, 77.29, 300.05°) |
| OKLab | oklab(53.89% 0.0293 -0.1922) |
| OKLCH | oklch(53.89% 0.194 278.7) |
| XYZ | xyz(20.5862, 14.3166, 68.6827) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.15
Iris
#6258C4
ΔE00 3.44
Light Indigo
#6D5ACF
ΔE00 3.44
Electric Blue
#0652FF
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58DB #D8DB58
analogous
#5896DB #5B58DB #9C58DB
triadic
#5B58DB #DB5B58 #58DB5B
tetradic
#5B58DB #DB5896 #D8DB58 #58DB9C
square
#5B58DB #DB5896 #D8DB58 #58DB9C
split-complementary
#5B58DB #DB9C58 #96DB58
monochromatic
#232198 #2F2CCA #5B58DB #8C8AE6 #BEBDF1
Accessibility & contrast
On white
5.44
#5B58DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5B58DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58DB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58DB | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b58db; /* rgb */ color: rgb(91, 88, 219); /* oklch */ color: oklch(53.9% 0.194 278.7);
Tailwind
colors: {
custom: {
50: '#9587e7',
500: '#5b58db',
950: '#000000',
},
}SCSS
$custom: #5b58db; $custom-light: #9587e7; $custom-dark: #000000;
JSON
{
"hex": "#5b58db",
"rgb": {
"r": 91,
"g": 88,
"b": 219
},
"hsl": {
"h": 241.374,
"s": 64.532,
"l": 60.196
},
"oklch": {
"l": 0.53893,
"c": 0.19447,
"h": 278.7
},
"luminance": 0.14318
}Semantic roles & 50–950 ramp
primary
#5B58DB
secondary
#DFE1AE
accent
#CC19C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84