#5B59DA#5B59DA
#5B59DA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.192 H 278.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DA |
|---|---|
| RGB | rgb(91, 89, 218) |
| HSL | hsl(241, 64%, 60%) |
| HSV | hsv(241, 59%, 85%) |
| CMYK | cmyk(58.3%, 59.2%, 0%, 14.5%) |
| CIE-LAB | lab(44.84, 37.78, -66.07) |
| CIE-LCH | lch(44.84, 76.11, 299.76°) |
| OKLab | oklab(53.99% 0.0284 -0.1898) |
| OKLCH | oklch(53.99% 0.192 278.5) |
| XYZ | xyz(20.5376, 14.4294, 68.0190) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Dark Periwinkle
#665FD1
ΔE00 2.64
Slate Blue
#6A5ACD
ΔE00 3.09
Iris
#6258C4
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 3.40
Electric Blue
#0652FF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DA #D8DA59
analogous
#5998DA #5B59DA #9B59DA
triadic
#5B59DA #DA5B59 #59DA5B
tetradic
#5B59DA #DA5998 #D8DA59 #59DA9B
square
#5B59DA #DA5998 #D8DA59 #59DA9B
split-complementary
#5B59DA #DA9B59 #98DA59
monochromatic
#232297 #2F2DC9 #5B59DA #8C8BE5 #BEBDF0
Accessibility & contrast
On white
5.40
#5B59DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5B59DA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DA | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b59da; /* rgb */ color: rgb(91, 89, 218); /* oklch */ color: oklch(54.0% 0.192 278.5);
Tailwind
colors: {
custom: {
50: '#9588e6',
500: '#5b59da',
950: '#000000',
},
}SCSS
$custom: #5b59da; $custom-light: #9588e6; $custom-dark: #000000;
JSON
{
"hex": "#5b59da",
"rgb": {
"r": 91,
"g": 89,
"b": 218
},
"hsl": {
"h": 240.93,
"s": 63.547,
"l": 60.196
},
"oklch": {
"l": 0.53987,
"c": 0.19191,
"h": 278.5
},
"luminance": 0.14431
}Semantic roles & 50–950 ramp
primary
#5B59DA
secondary
#DFE0AF
accent
#CB1AC9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84