#5B59CD#5B59CD
#5B59CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.175 H 279.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59CD |
|---|---|
| RGB | rgb(91, 89, 205) |
| HSL | hsl(241, 54%, 58%) |
| HSV | hsv(241, 57%, 80%) |
| CMYK | cmyk(55.6%, 56.6%, 0%, 19.6%) |
| CIE-LAB | lab(43.91, 33.62, -60.14) |
| CIE-LCH | lch(43.91, 68.90, 299.21°) |
| OKLab | oklab(53% 0.0285 -0.1723) |
| OKLCH | oklch(53% 0.175 279.4) |
| XYZ | xyz(18.9027, 13.7754, 59.4086) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.90
Dark Periwinkle
#665FD1
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 2.67
Warm Blue
#4B57DB
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.22
Azul
#1D5DEC
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59CD #CBCD59
analogous
#5991CD #5B59CD #9559CD
triadic
#5B59CD #CD5B59 #59CD5B
tetradic
#5B59CD #CD5991 #CBCD59 #59CD95
square
#5B59CD #CD5991 #CBCD59 #59CD95
split-complementary
#5B59CD #CD9559 #91CD59
monochromatic
#292884 #3836B3 #5B59CD #8988DB #B8B7E9
Accessibility & contrast
On white
5.59
#5B59CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5B59CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59CD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59CD | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#20748A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5b59cd; /* rgb */ color: rgb(91, 89, 205); /* oklch */ color: oklch(53.0% 0.175 279.4);
Tailwind
colors: {
custom: {
50: '#9388dd',
500: '#5b59cd',
950: '#000000',
},
}SCSS
$custom: #5b59cd; $custom-light: #9388dd; $custom-dark: #000000;
JSON
{
"hex": "#5b59cd",
"rgb": {
"r": 91,
"g": 89,
"b": 205
},
"hsl": {
"h": 241.034,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.53002,
"c": 0.17469,
"h": 279.4
},
"luminance": 0.13777
}Semantic roles & 50–950 ramp
primary
#5B59CD
secondary
#D7D8AA
accent
#DD4BDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83