#5B5ABE#5B5ABE
#5B5ABE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.153 H 280.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5ABE |
|---|---|
| RGB | rgb(91, 90, 190) |
| HSL | hsl(241, 43%, 55%) |
| HSV | hsv(241, 53%, 75%) |
| CMYK | cmyk(52.1%, 52.6%, 0%, 25.5%) |
| CIE-LAB | lab(43.14, 28.23, -52.69) |
| CIE-LCH | lch(43.14, 59.78, 298.18°) |
| OKLab | oklab(52.11% 0.0269 -0.1504) |
| OKLCH | oklch(52.11% 0.153 280.1) |
| XYZ | xyz(17.2619, 13.2532, 50.3537) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.85
Slate Blue
#6A5ACD
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 4.18
Warm Blue
#4B57DB
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5ABE #BDBE5A
analogous
#5A8BBE #5B5ABE #8D5ABE
triadic
#5B5ABE #BE5B5A #5ABE5B
tetradic
#5B5ABE #BE5A8B #BDBE5A #5ABE8D
square
#5B5ABE #BE5A8B #BDBE5A #5ABE8D
split-complementary
#5B5ABE #BE8D5A #8BBE5A
monochromatic
#2D2D71 #3F3E9D #5B5ABE #8786CF #B2B2E1
Accessibility & contrast
On white
5.75
#5B5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5B5ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5ABE
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5ABE | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246AC1
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#327083
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b5abe; /* rgb */ color: rgb(91, 90, 190); /* oklch */ color: oklch(52.1% 0.153 280.1);
Tailwind
colors: {
custom: {
50: '#9188d2',
500: '#5b5abe',
950: '#000000',
},
}SCSS
$custom: #5b5abe; $custom-light: #9188d2; $custom-dark: #000000;
JSON
{
"hex": "#5b5abe",
"rgb": {
"r": 91,
"g": 90,
"b": 190
},
"hsl": {
"h": 240.6,
"s": 43.478,
"l": 54.902
},
"oklch": {
"l": 0.52107,
"c": 0.15284,
"h": 280.1
},
"luminance": 0.13254
}Semantic roles & 50–950 ramp
primary
#5B5ABE
secondary
#CFCFA5
accent
#D355D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83