#5B5ABA#5B5ABA
#5B5ABA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.147 H 280.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5ABA |
|---|---|
| RGB | rgb(91, 90, 186) |
| HSL | hsl(241, 41%, 54%) |
| HSV | hsv(241, 52%, 73%) |
| CMYK | cmyk(51.1%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(42.88, 26.96, -50.78) |
| CIE-LCH | lch(42.88, 57.49, 297.97°) |
| OKLab | oklab(51.83% 0.0266 -0.1448) |
| OKLCH | oklch(51.83% 0.147 280.4) |
| XYZ | xyz(16.8308, 13.0807, 48.0828) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.23
Slate Blue
#6A5ACD
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5ABA #B9BA5A
analogous
#5A89BA #5B5ABA #8B5ABA
triadic
#5B5ABA #BA5B5A #5ABA5B
tetradic
#5B5ABA #BA5A89 #B9BA5A #5ABA8B
square
#5B5ABA #BA5A89 #B9BA5A #5ABA8B
split-complementary
#5B5ABA #BA8B5A #89BA5A
monochromatic
#2E2D6C #403F97 #5B5ABA #8685CC #B1B0DE
Accessibility & contrast
On white
5.81
#5B5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5B5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5ABA
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5ABA | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#356F81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b5aba; /* rgb */ color: rgb(91, 90, 186); /* oklch */ color: oklch(51.8% 0.147 280.4);
Tailwind
colors: {
custom: {
50: '#9088cf',
500: '#5b5aba',
950: '#000000',
},
}SCSS
$custom: #5b5aba; $custom-light: #9088cf; $custom-dark: #000000;
JSON
{
"hex": "#5b5aba",
"rgb": {
"r": 91,
"g": 90,
"b": 186
},
"hsl": {
"h": 240.625,
"s": 41.026,
"l": 54.118
},
"oklch": {
"l": 0.51832,
"c": 0.14725,
"h": 280.4
},
"luminance": 0.13082
}Semantic roles & 50–950 ramp
primary
#5B5ABA
secondary
#CCCCA3
accent
#D157D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0B14
muted
#7E7C82