#5B59DE#5B59DE
#5B59DE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.197 H 278.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DE |
|---|---|
| RGB | rgb(91, 89, 222) |
| HSL | hsl(241, 67%, 61%) |
| HSV | hsv(241, 60%, 87%) |
| CMYK | cmyk(59%, 59.9%, 0%, 12.9%) |
| CIE-LAB | lab(45.14, 39.06, -67.86) |
| CIE-LCH | lch(45.14, 78.30, 299.93°) |
| OKLab | oklab(54.3% 0.0283 -0.1951) |
| OKLCH | oklch(54.3% 0.197 278.2) |
| XYZ | xyz(21.0674, 14.6413, 70.8090) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Dark Periwinkle
#665FD1
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 3.62
Iris
#6258C4
ΔE00 3.84
Electric Blue
#0652FF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DE #DCDE59
analogous
#5999DE #5B59DE #9D59DE
triadic
#5B59DE #DE5B59 #59DE5B
tetradic
#5B59DE #DE5999 #DCDE59 #59DE9D
square
#5B59DE #DE5999 #DCDE59 #59DE9D
split-complementary
#5B59DE #DE9D59 #99DE59
monochromatic
#211F9D #2C29D0 #5B59DE #8D8CE8 #C0BFF2
Accessibility & contrast
On white
5.35
#5B59DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5B59DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DE
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DE | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b59de; /* rgb */ color: rgb(91, 89, 222); /* oklch */ color: oklch(54.3% 0.197 278.2);
Tailwind
colors: {
custom: {
50: '#9588e9',
500: '#5b59de',
950: '#000000',
},
}SCSS
$custom: #5b59de; $custom-light: #9588e9; $custom-dark: #000000;
JSON
{
"hex": "#5b59de",
"rgb": {
"r": 91,
"g": 89,
"b": 222
},
"hsl": {
"h": 240.902,
"s": 66.834,
"l": 60.98
},
"oklch": {
"l": 0.54299,
"c": 0.19711,
"h": 278.2
},
"luminance": 0.14643
}Semantic roles & 50–950 ramp
primary
#5B59DE
secondary
#E2E2B0
accent
#CF17CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84