#5B59BE#5B59BE
#5B59BE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.154 H 280.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59BE |
|---|---|
| RGB | rgb(91, 89, 190) |
| HSL | hsl(241, 44%, 55%) |
| HSV | hsv(241, 53%, 75%) |
| CMYK | cmyk(52.1%, 53.2%, 0%, 25.5%) |
| CIE-LAB | lab(42.89, 28.85, -53.10) |
| CIE-LCH | lch(42.89, 60.43, 298.52°) |
| OKLab | oklab(51.92% 0.028 -0.1516) |
| OKLCH | oklch(51.92% 0.154 280.5) |
| XYZ | xyz(17.1782, 13.0856, 50.3258) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.69
Slate Blue
#6A5ACD
ΔE00 3.52
Dark Periwinkle
#665FD1
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59BE #BCBE59
analogous
#598ABE #5B59BE #8E59BE
triadic
#5B59BE #BE5B59 #59BE5B
tetradic
#5B59BE #BE598A #BCBE59 #59BE8E
square
#5B59BE #BE598A #BCBE59 #59BE8E
split-complementary
#5B59BE #BE8E59 #8ABE59
monochromatic
#2D2C71 #3F3D9D #5B59BE #8685CF #B2B1E0
Accessibility & contrast
On white
5.81
#5B59BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5B59BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59BE
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59BE | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#327083
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b59be; /* rgb */ color: rgb(91, 89, 190); /* oklch */ color: oklch(51.9% 0.154 280.5);
Tailwind
colors: {
custom: {
50: '#9188d2',
500: '#5b59be',
950: '#000000',
},
}SCSS
$custom: #5b59be; $custom-light: #9188d2; $custom-dark: #000000;
JSON
{
"hex": "#5b59be",
"rgb": {
"r": 91,
"g": 89,
"b": 190
},
"hsl": {
"h": 241.188,
"s": 43.723,
"l": 54.706
},
"oklch": {
"l": 0.5192,
"c": 0.15422,
"h": 280.5
},
"luminance": 0.13087
}Semantic roles & 50–950 ramp
primary
#5B59BE
secondary
#CECFA4
accent
#D354D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83