#5B5BB7#5B5BB7
#5B5BB7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.142 H 280.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BB7 |
|---|---|
| RGB | rgb(91, 91, 183) |
| HSL | hsl(240, 39%, 54%) |
| HSV | hsv(240, 50%, 72%) |
| CMYK | cmyk(50.3%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(42.95, 25.39, -48.92) |
| CIE-LCH | lch(42.95, 55.12, 297.43°) |
| OKLab | oklab(51.82% 0.0252 -0.1393) |
| OKLCH | oklch(51.82% 0.142 280.3) |
| XYZ | xyz(16.6001, 13.1243, 46.4491) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BB7 #B7B75B
analogous
#5B89B7 #5B5BB7 #895BB7
triadic
#5B5BB7 #B75B5B #5BB75B
tetradic
#5B5BB7 #B75B89 #B7B75B #5BB789
square
#5B5BB7 #B75B89 #B7B75B #5BB789
split-complementary
#5B5BB7 #B7895B #89B75B
monochromatic
#2E2E69 #414194 #5B5BB7 #8686CA #B0B0DC
Accessibility & contrast
On white
5.79
#5B5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5B5BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BB7
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BB7 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3069BA
Deuteranopia (green-blind)
#2762B5
Tritanopia (blue-blind)
#376F80
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b5bb7; /* rgb */ color: rgb(91, 91, 183); /* oklch */ color: oklch(51.8% 0.142 280.3);
Tailwind
colors: {
custom: {
50: '#9089cd',
500: '#5b5bb7',
950: '#000000',
},
}SCSS
$custom: #5b5bb7; $custom-light: #9089cd; $custom-dark: #000000;
JSON
{
"hex": "#5b5bb7",
"rgb": {
"r": 91,
"g": 91,
"b": 183
},
"hsl": {
"h": 240,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.5182,
"c": 0.14161,
"h": 280.3
},
"luminance": 0.13125
}Semantic roles & 50–950 ramp
primary
#5B5BB7
secondary
#CBCBA3
accent
#CF59CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B13
muted
#7E7C82