#5B59DB#5B59DB
#5B59DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.193 H 278.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DB |
|---|---|
| RGB | rgb(91, 89, 219) |
| HSL | hsl(241, 64%, 60%) |
| HSV | hsv(241, 59%, 86%) |
| CMYK | cmyk(58.4%, 59.4%, 0%, 14.1%) |
| CIE-LAB | lab(44.92, 38.10, -66.52) |
| CIE-LCH | lch(44.92, 76.66, 299.81°) |
| OKLab | oklab(54.07% 0.0284 -0.1911) |
| OKLCH | oklch(54.07% 0.193 278.4) |
| XYZ | xyz(20.6689, 14.4819, 68.7102) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.25
Dark Periwinkle
#665FD1
ΔE00 2.69
Slate Blue
#6A5ACD
ΔE00 3.16
Light Indigo
#6D5ACF
ΔE00 3.45
Iris
#6258C4
ΔE00 3.48
Electric Blue
#0652FF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DB #D9DB59
analogous
#5998DB #5B59DB #9C59DB
triadic
#5B59DB #DB5B59 #59DB5B
tetradic
#5B59DB #DB5998 #D9DB59 #59DB9C
square
#5B59DB #DB5998 #D9DB59 #59DB9C
split-complementary
#5B59DB #DB9C59 #98DB59
monochromatic
#232199 #2E2CCB #5B59DB #8D8BE6 #BEBEF1
Accessibility & contrast
On white
5.39
#5B59DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5B59DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DB | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b59db; /* rgb */ color: rgb(91, 89, 219); /* oklch */ color: oklch(54.1% 0.193 278.4);
Tailwind
colors: {
custom: {
50: '#9588e7',
500: '#5b59db',
950: '#000000',
},
}SCSS
$custom: #5b59db; $custom-light: #9588e7; $custom-dark: #000000;
JSON
{
"hex": "#5b59db",
"rgb": {
"r": 91,
"g": 89,
"b": 219
},
"hsl": {
"h": 240.923,
"s": 64.356,
"l": 60.392
},
"oklch": {
"l": 0.54065,
"c": 0.19322,
"h": 278.4
},
"luminance": 0.14483
}Semantic roles & 50–950 ramp
primary
#5B59DB
secondary
#E0E1AF
accent
#CC19C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84