#5B59DD#5B59DD
#5B59DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.2% C 0.196 H 278.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DD |
|---|---|
| RGB | rgb(91, 89, 221) |
| HSL | hsl(241, 66%, 61%) |
| HSV | hsv(241, 60%, 87%) |
| CMYK | cmyk(58.8%, 59.7%, 0%, 13.3%) |
| CIE-LAB | lab(45.06, 38.74, -67.42) |
| CIE-LCH | lch(45.06, 77.76, 299.89°) |
| OKLab | oklab(54.22% 0.0283 -0.1938) |
| OKLCH | oklch(54.22% 0.196 278.3) |
| XYZ | xyz(20.9337, 14.5878, 70.1052) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.30
Dark Periwinkle
#665FD1
ΔE00 2.81
Slate Blue
#6A5ACD
ΔE00 3.31
Light Indigo
#6D5ACF
ΔE00 3.56
Iris
#6258C4
ΔE00 3.72
Electric Blue
#0652FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DD #DBDD59
analogous
#5999DD #5B59DD #9D59DD
triadic
#5B59DD #DD5B59 #59DD5B
tetradic
#5B59DD #DD5999 #DBDD59 #59DD9D
square
#5B59DD #DD5999 #DBDD59 #59DD9D
split-complementary
#5B59DD #DD9D59 #99DD59
monochromatic
#22209C #2D2ACF #5B59DD #8D8CE7 #BFBFF2
Accessibility & contrast
On white
5.36
#5B59DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5B59DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DD
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DD | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b59dd; /* rgb */ color: rgb(91, 89, 221); /* oklch */ color: oklch(54.2% 0.196 278.3);
Tailwind
colors: {
custom: {
50: '#9588e8',
500: '#5b59dd',
950: '#000000',
},
}SCSS
$custom: #5b59dd; $custom-light: #9588e8; $custom-dark: #000000;
JSON
{
"hex": "#5b59dd",
"rgb": {
"r": 91,
"g": 89,
"b": 221
},
"hsl": {
"h": 240.909,
"s": 66,
"l": 60.784
},
"oklch": {
"l": 0.5422,
"c": 0.19582,
"h": 278.3
},
"luminance": 0.14589
}Semantic roles & 50–950 ramp
primary
#5B59DD
secondary
#E1E2B0
accent
#CE18CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84