#5B59DF#5B59DF
#5B59DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.198 H 278.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59DF |
|---|---|
| RGB | rgb(91, 89, 223) |
| HSL | hsl(241, 68%, 61%) |
| HSV | hsv(241, 60%, 87%) |
| CMYK | cmyk(59.2%, 60.1%, 0%, 12.5%) |
| CIE-LAB | lab(45.21, 39.38, -68.31) |
| CIE-LCH | lch(45.21, 78.85, 299.97°) |
| OKLab | oklab(54.38% 0.0282 -0.1964) |
| OKLCH | oklch(54.38% 0.198 278.2) |
| XYZ | xyz(21.2018, 14.6951, 71.5169) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.39
Dark Periwinkle
#665FD1
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.68
Iris
#6258C4
ΔE00 3.96
Electric Blue
#0652FF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59DF #DDDF59
analogous
#599ADF #5B59DF #9E59DF
triadic
#5B59DF #DF5B59 #59DF5B
tetradic
#5B59DF #DF599A #DDDF59 #59DF9E
square
#5B59DF #DF599A #DDDF59 #59DF9E
split-complementary
#5B59DF #DF9E59 #9ADF59
monochromatic
#211F9F #2B29D2 #5B59DF #8E8CE9 #C0C0F3
Accessibility & contrast
On white
5.33
#5B59DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5B59DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59DF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59DF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b59df; /* rgb */ color: rgb(91, 89, 223); /* oklch */ color: oklch(54.4% 0.198 278.2);
Tailwind
colors: {
custom: {
50: '#9688ea',
500: '#5b59df',
950: '#000000',
},
}SCSS
$custom: #5b59df; $custom-light: #9688ea; $custom-dark: #000000;
JSON
{
"hex": "#5b59df",
"rgb": {
"r": 91,
"g": 89,
"b": 223
},
"hsl": {
"h": 240.896,
"s": 67.677,
"l": 61.176
},
"oklch": {
"l": 0.54377,
"c": 0.19842,
"h": 278.2
},
"luminance": 0.14697
}Semantic roles & 50–950 ramp
primary
#5B59DF
secondary
#E2E3B1
accent
#D016CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84