#5B5CA5#5B5CA5
#5B5CA5 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.9% C 0.114 H 280.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CA5 |
|---|---|
| RGB | rgb(91, 92, 165) |
| HSL | hsl(239, 29%, 50%) |
| HSV | hsv(239, 45%, 65%) |
| CMYK | cmyk(44.8%, 44.2%, 0%, 35.3%) |
| CIE-LAB | lab(42.15, 19.16, -39.61) |
| CIE-LCH | lch(42.15, 44.00, 295.81°) |
| OKLab | oklab(50.87% 0.0217 -0.112) |
| OKLCH | oklch(50.87% 0.114 280.9) |
| XYZ | xyz(14.9310, 12.5944, 37.2342) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.41
Iris
#6258C4
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 5.85
Dusk
#4E5481
ΔE00 6.89
Slate Blue
#6A5ACD
ΔE00 7.08
Dark Periwinkle
#665FD1
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CA5 #A5A45B
analogous
#5B81A5 #5B5CA5 #7F5BA5
triadic
#5B5CA5 #A55B5C #5CA55B
tetradic
#5B5CA5 #A55B81 #A5A45B #5BA57F
square
#5B5CA5 #A55B81 #A5A45B #5BA57F
split-complementary
#5B5CA5 #A57F5B #81A55B
monochromatic
#2F3056 #45467E #5B5CA5 #8383BB #AAABD0
Accessibility & contrast
On white
5.97
#5B5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5B5CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CA5
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CA5 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#436B78
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b5ca5; /* rgb */ color: rgb(91, 92, 165); /* oklch */ color: oklch(50.9% 0.114 280.9);
Tailwind
colors: {
custom: {
50: '#8d8ac0',
500: '#5b5ca5',
950: '#000000',
},
}SCSS
$custom: #5b5ca5; $custom-light: #8d8ac0; $custom-dark: #000000;
JSON
{
"hex": "#5b5ca5",
"rgb": {
"r": 91,
"g": 92,
"b": 165
},
"hsl": {
"h": 239.189,
"s": 29.134,
"l": 50.196
},
"oklch": {
"l": 0.50867,
"c": 0.11411,
"h": 280.9
},
"luminance": 0.12595
}Semantic roles & 50–950 ramp
primary
#5B5CA5
secondary
#BEBE9D
accent
#C462C5
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0B12
muted
#7D7C81