#5A5BE2#5A5BE2
#5A5BE2 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.200 H 277.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE2 |
|---|---|
| RGB | rgb(90, 91, 226) |
| HSL | hsl(240, 70%, 62%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(60.2%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(45.83, 38.98, -69.01) |
| CIE-LCH | lch(45.83, 79.26, 299.46°) |
| OKLab | oklab(54.89% 0.0252 -0.1985) |
| OKLCH | oklch(54.89% 0.2 277.2) |
| XYZ | xyz(21.6806, 15.1452, 73.7176) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.59
Dark Periwinkle
#665FD1
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.91
Light Indigo
#6D5ACF
ΔE00 4.09
Iris
#6258C4
ΔE00 4.51
Electric Blue
#0652FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE2 #E2E15A
analogous
#5A9FE2 #5A5BE2 #9D5AE2
triadic
#5A5BE2 #E25A5B #5BE25A
tetradic
#5A5BE2 #E25A9F #E2E15A #5AE29D
square
#5A5BE2 #E25A9F #E2E15A #5AE29D
split-complementary
#5A5BE2 #E29D5A #9FE25A
monochromatic
#1D1EA5 #2627D9 #5A5BE2 #8E8FEB #C2C2F4
Accessibility & contrast
On white
5.21
#5A5BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5A5BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5be2; /* rgb */ color: rgb(90, 91, 226); /* oklch */ color: oklch(54.9% 0.200 277.2);
Tailwind
colors: {
custom: {
50: '#9589ec',
500: '#5a5be2',
950: '#000000',
},
}SCSS
$custom: #5a5be2; $custom-light: #9589ec; $custom-dark: #000000;
JSON
{
"hex": "#5a5be2",
"rgb": {
"r": 90,
"g": 91,
"b": 226
},
"hsl": {
"h": 239.559,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.54885,
"c": 0.20005,
"h": 277.2
},
"luminance": 0.15147
}Semantic roles & 50–950 ramp
primary
#5A5BE2
secondary
#E5E5B3
accent
#D113D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84