#5A5BE1#5A5BE1
#5A5BE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.8% C 0.199 H 277.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE1 |
|---|---|
| RGB | rgb(90, 91, 225) |
| HSL | hsl(240, 69%, 62%) |
| HSV | hsv(240, 60%, 88%) |
| CMYK | cmyk(60%, 59.6%, 0%, 11.8%) |
| CIE-LAB | lab(45.76, 38.66, -68.56) |
| CIE-LCH | lch(45.76, 78.71, 299.42°) |
| OKLab | oklab(54.81% 0.0252 -0.1971) |
| OKLCH | oklch(54.81% 0.199 277.3) |
| XYZ | xyz(21.5438, 15.0904, 72.9970) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Dark Periwinkle
#665FD1
ΔE00 2.93
Slate Blue
#6A5ACD
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.03
Iris
#6258C4
ΔE00 4.39
Azul
#1D5DEC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE1 #E1E05A
analogous
#5A9EE1 #5A5BE1 #9D5AE1
triadic
#5A5BE1 #E15A5B #5BE15A
tetradic
#5A5BE1 #E15A9E #E1E05A #5AE19D
square
#5A5BE1 #E15A9E #E1E05A #5AE19D
split-complementary
#5A5BE1 #E19D5A #9EE15A
monochromatic
#1E1FA3 #2728D7 #5A5BE1 #8E8EEA #C2C2F4
Accessibility & contrast
On white
5.23
#5A5BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5A5BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE1
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE1 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5be1; /* rgb */ color: rgb(90, 91, 225); /* oklch */ color: oklch(54.8% 0.199 277.3);
Tailwind
colors: {
custom: {
50: '#9589eb',
500: '#5a5be1',
950: '#000000',
},
}SCSS
$custom: #5a5be1; $custom-light: #9589eb; $custom-dark: #000000;
JSON
{
"hex": "#5a5be1",
"rgb": {
"r": 90,
"g": 91,
"b": 225
},
"hsl": {
"h": 239.556,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.54807,
"c": 0.19875,
"h": 277.3
},
"luminance": 0.15092
}Semantic roles & 50–950 ramp
primary
#5A5BE1
secondary
#E4E4B2
accent
#D014D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84