#5B5ABB#5B5ABB
#5B5ABB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.149 H 280.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5ABB |
|---|---|
| RGB | rgb(91, 90, 187) |
| HSL | hsl(241, 42%, 54%) |
| HSV | hsv(241, 52%, 73%) |
| CMYK | cmyk(51.3%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(42.95, 27.28, -51.26) |
| CIE-LCH | lch(42.95, 58.06, 298.02°) |
| OKLab | oklab(51.9% 0.0267 -0.1462) |
| OKLCH | oklch(51.9% 0.149 280.3) |
| XYZ | xyz(16.9374, 13.1234, 48.6447) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5ABB #BABB5A
analogous
#5A89BB #5B5ABB #8C5ABB
triadic
#5B5ABB #BB5B5A #5ABB5B
tetradic
#5B5ABB #BB5A89 #BABB5A #5ABB8C
square
#5B5ABB #BB5A89 #BABB5A #5ABB8C
split-complementary
#5B5ABB #BB8C5A #89BB5A
monochromatic
#2E2D6D #403F99 #5B5ABB #8685CD #B1B1DF
Accessibility & contrast
On white
5.79
#5B5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5B5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5ABB
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5ABB | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#346F82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b5abb; /* rgb */ color: rgb(91, 90, 187); /* oklch */ color: oklch(51.9% 0.149 280.3);
Tailwind
colors: {
custom: {
50: '#9088d0',
500: '#5b5abb',
950: '#000000',
},
}SCSS
$custom: #5b5abb; $custom-light: #9088d0; $custom-dark: #000000;
JSON
{
"hex": "#5b5abb",
"rgb": {
"r": 91,
"g": 90,
"b": 187
},
"hsl": {
"h": 240.619,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.519,
"c": 0.14865,
"h": 280.3
},
"luminance": 0.13124
}Semantic roles & 50–950 ramp
primary
#5B5ABB
secondary
#CDCDA4
accent
#D156D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82