#5B59DC#5B59DC
#5B59DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.195 H 278.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DC |
|---|---|
| RGB | rgb(91, 89, 220) |
| HSL | hsl(241, 65%, 61%) |
| HSV | hsv(241, 60%, 86%) |
| CMYK | cmyk(58.6%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.99, 38.42, -66.97) |
| CIE-LCH | lch(44.99, 77.21, 299.85°) |
| OKLab | oklab(54.14% 0.0283 -0.1924) |
| OKLCH | oklch(54.14% 0.195 278.4) |
| XYZ | xyz(20.8009, 14.5347, 69.4056) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 3.50
Iris
#6258C4
ΔE00 3.60
Electric Blue
#0652FF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DC #DADC59
analogous
#5998DC #5B59DC #9C59DC
triadic
#5B59DC #DC5B59 #59DC5B
tetradic
#5B59DC #DC5998 #DADC59 #59DC9C
square
#5B59DC #DC5998 #DADC59 #59DC9C
split-complementary
#5B59DC #DC9C59 #98DC59
monochromatic
#22209A #2E2BCD #5B59DC #8D8CE7 #BFBEF1
Accessibility & contrast
On white
5.37
#5B59DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5B59DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DC | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b59dc; /* rgb */ color: rgb(91, 89, 220); /* oklch */ color: oklch(54.1% 0.195 278.4);
Tailwind
colors: {
custom: {
50: '#9588e8',
500: '#5b59dc',
950: '#000000',
},
}SCSS
$custom: #5b59dc; $custom-light: #9588e8; $custom-dark: #000000;
JSON
{
"hex": "#5b59dc",
"rgb": {
"r": 91,
"g": 89,
"b": 220
},
"hsl": {
"h": 240.916,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.54142,
"c": 0.19452,
"h": 278.4
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#5B59DC
secondary
#E1E1AF
accent
#CD18CA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84