#5B5AE5#5B5AE5
#5B5AE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.205 H 277.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE5 |
|---|---|
| RGB | rgb(91, 90, 229) |
| HSL | hsl(240, 73%, 63%) |
| HSV | hsv(240, 61%, 90%) |
| CMYK | cmyk(60.3%, 60.7%, 0%, 10.2%) |
| CIE-LAB | lab(45.90, 40.71, -70.60) |
| CIE-LCH | lch(45.90, 81.50, 299.97°) |
| OKLab | oklab(55.02% 0.0271 -0.2031) |
| OKLCH | oklch(55.02% 0.205 277.6) |
| XYZ | xyz(22.1089, 15.1919, 75.8808) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.84
Dark Periwinkle
#665FD1
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.15
Iris
#6258C4
ΔE00 4.75
Electric Blue
#0652FF
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE5 #E4E55A
analogous
#5A9EE5 #5B5AE5 #A15AE5
triadic
#5B5AE5 #E55B5A #5AE55B
tetradic
#5B5AE5 #E55A9E #E4E55A #5AE5A1
square
#5B5AE5 #E55A9E #E4E55A #5AE5A1
split-complementary
#5B5AE5 #E5A15A #9EE55A
monochromatic
#1C1BAA #2625DD #5B5AE5 #908FED #C4C4F6
Accessibility & contrast
On white
5.20
#5B5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5B5AE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE5
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE5 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ae5; /* rgb */ color: rgb(91, 90, 229); /* oklch */ color: oklch(55.0% 0.205 277.6);
Tailwind
colors: {
custom: {
50: '#9789ee',
500: '#5b5ae5',
950: '#000000',
},
}SCSS
$custom: #5b5ae5; $custom-light: #9789ee; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae5",
"rgb": {
"r": 91,
"g": 90,
"b": 229
},
"hsl": {
"h": 240.432,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.5502,
"c": 0.20492,
"h": 277.6
},
"luminance": 0.15194
}Semantic roles & 50–950 ramp
primary
#5B5AE5
secondary
#E6E7B4
accent
#D511D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84