#5B5992#5B5992
#5B5992 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 49.1% C 0.090 H 284.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5992 |
|---|---|
| RGB | rgb(91, 89, 146) |
| HSL | hsl(242, 24%, 46%) |
| HSV | hsv(242, 39%, 57%) |
| CMYK | cmyk(37.7%, 39%, 0%, 42.7%) |
| CIE-LAB | lab(40.32, 15.35, -31.15) |
| CIE-LCH | lch(40.32, 34.72, 296.24°) |
| OKLab | oklab(49.14% 0.0221 -0.0874) |
| OKLCH | oklch(49.14% 0.09 284.2) |
| XYZ | xyz(13.0736, 11.4438, 28.7086) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.41
Dusk
#4E5481
ΔE00 4.05
Dusky Blue
#475F94
ΔE00 6.68
Denim Blue
#3B5B92
ΔE00 8.44
Blueberry
#464196
ΔE00 8.70
Royal Purple
#7851A9
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5992 #909259
analogous
#597392 #5B5992 #775992
triadic
#5B5992 #925B59 #59925B
tetradic
#5B5992 #925973 #909259 #599277
square
#5B5992 #925973 #909259 #599277
split-complementary
#5B5992 #927759 #739259
monochromatic
#2C2B46 #43426C #5B5992 #7C7AAE #A1A0C5
Accessibility & contrast
On white
6.39
#5B5992 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#5B5992 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5992
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5992 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476194
Deuteranopia (green-blind)
#455D91
Tritanopia (blue-blind)
#4C646E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b5992; /* rgb */ color: rgb(91, 89, 146); /* oklch */ color: oklch(49.1% 0.090 284.2);
Tailwind
colors: {
custom: {
50: '#8c87b2',
500: '#5b5992',
950: '#000000',
},
}SCSS
$custom: #5b5992; $custom-light: #8c87b2; $custom-dark: #000000;
JSON
{
"hex": "#5b5992",
"rgb": {
"r": 91,
"g": 89,
"b": 146
},
"hsl": {
"h": 242.105,
"s": 24.255,
"l": 46.078
},
"oklch": {
"l": 0.49141,
"c": 0.09011,
"h": 284.2
},
"luminance": 0.11444
}Semantic roles & 50–950 ramp
primary
#5B5992
secondary
#B2B394
accent
#C167BE
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80