#5B5AE2#5B5AE2
#5B5AE2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.201 H 277.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE2 |
|---|---|
| RGB | rgb(91, 90, 226) |
| HSL | hsl(240, 70%, 62%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(59.7%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.67, 39.75, -69.27) |
| CIE-LCH | lch(45.67, 79.86, 299.85°) |
| OKLab | oklab(54.78% 0.0272 -0.1992) |
| OKLCH | oklch(54.78% 0.201 277.8) |
| XYZ | xyz(21.6936, 15.0258, 73.6939) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Dark Periwinkle
#665FD1
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 3.92
Iris
#6258C4
ΔE00 4.39
Electric Blue
#0652FF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE2 #E1E25A
analogous
#5A9DE2 #5B5AE2 #9F5AE2
triadic
#5B5AE2 #E25B5A #5AE25B
tetradic
#5B5AE2 #E25A9D #E1E25A #5AE29F
square
#5B5AE2 #E25A9D #E1E25A #5AE29F
split-complementary
#5B5AE2 #E29F5A #9DE25A
monochromatic
#1E1DA5 #2726D9 #5B5AE2 #8F8EEB #C2C2F4
Accessibility & contrast
On white
5.24
#5B5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5B5AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5ae2; /* rgb */ color: rgb(91, 90, 226); /* oklch */ color: oklch(54.8% 0.201 277.8);
Tailwind
colors: {
custom: {
50: '#9689ec',
500: '#5b5ae2',
950: '#000000',
},
}SCSS
$custom: #5b5ae2; $custom-light: #9689ec; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae2",
"rgb": {
"r": 91,
"g": 90,
"b": 226
},
"hsl": {
"h": 240.441,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.54783,
"c": 0.20106,
"h": 277.8
},
"luminance": 0.15027
}Semantic roles & 50–950 ramp
primary
#5B5AE2
secondary
#E5E5B3
accent
#D213D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84