#5B59BB#5B59BB
#5B59BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.150 H 280.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59BB |
|---|---|
| RGB | rgb(91, 89, 187) |
| HSL | hsl(241, 42%, 54%) |
| HSV | hsv(241, 52%, 73%) |
| CMYK | cmyk(51.3%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.70, 27.90, -51.66) |
| CIE-LCH | lch(42.70, 58.72, 298.37°) |
| OKLab | oklab(51.71% 0.0278 -0.1474) |
| OKLCH | oklch(51.71% 0.15 280.7) |
| XYZ | xyz(16.8536, 12.9558, 48.6167) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.98
Slate Blue
#6A5ACD
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.43
Warm Blue
#4B57DB
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59BB #B9BB59
analogous
#5988BB #5B59BB #8C59BB
triadic
#5B59BB #BB5B59 #59BB5B
tetradic
#5B59BB #BB5988 #B9BB59 #59BB8C
square
#5B59BB #BB5988 #B9BB59 #59BB8C
split-complementary
#5B59BB #BB8C59 #88BB59
monochromatic
#2E2D6D #403E98 #5B59BB #8684CD #B1B0DF
Accessibility & contrast
On white
5.85
#5B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5B59BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59BB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59BB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#346F81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b59bb; /* rgb */ color: rgb(91, 89, 187); /* oklch */ color: oklch(51.7% 0.150 280.7);
Tailwind
colors: {
custom: {
50: '#9088d0',
500: '#5b59bb',
950: '#000000',
},
}SCSS
$custom: #5b59bb; $custom-light: #9088d0; $custom-dark: #000000;
JSON
{
"hex": "#5b59bb",
"rgb": {
"r": 91,
"g": 89,
"b": 187
},
"hsl": {
"h": 241.224,
"s": 41.88,
"l": 54.118
},
"oklch": {
"l": 0.51711,
"c": 0.15004,
"h": 280.7
},
"luminance": 0.12957
}Semantic roles & 50–950 ramp
primary
#5B59BB
secondary
#CCCDA3
accent
#D256CF
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82