#5A5BE0#5A5BE0
#5A5BE0 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.197 H 277.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE0 |
|---|---|
| RGB | rgb(90, 91, 224) |
| HSL | hsl(240, 68%, 62%) |
| HSV | hsv(240, 60%, 88%) |
| CMYK | cmyk(59.8%, 59.4%, 0%, 12.2%) |
| CIE-LAB | lab(45.68, 38.34, -68.12) |
| CIE-LCH | lch(45.68, 78.17, 299.37°) |
| OKLab | oklab(54.73% 0.0252 -0.1958) |
| OKLCH | oklch(54.73% 0.197 277.3) |
| XYZ | xyz(21.4077, 15.0360, 72.2807) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.46
Dark Periwinkle
#665FD1
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 3.96
Iris
#6258C4
ΔE00 4.27
Azul
#1D5DEC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE0 #E0DF5A
analogous
#5A9EE0 #5A5BE0 #9C5AE0
triadic
#5A5BE0 #E05A5B #5BE05A
tetradic
#5A5BE0 #E05A9E #E0DF5A #5AE09C
square
#5A5BE0 #E05A9E #E0DF5A #5AE09C
split-complementary
#5A5BE0 #E09C5A #9EE05A
monochromatic
#1E1FA1 #2829D5 #5A5BE0 #8E8EEA #C1C1F3
Accessibility & contrast
On white
5.24
#5A5BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5A5BE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE0
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE0 | 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)
#0072E4
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5be0; /* rgb */ color: rgb(90, 91, 224); /* oklch */ color: oklch(54.7% 0.197 277.3);
Tailwind
colors: {
custom: {
50: '#9589eb',
500: '#5a5be0',
950: '#000000',
},
}SCSS
$custom: #5a5be0; $custom-light: #9589eb; $custom-dark: #000000;
JSON
{
"hex": "#5a5be0",
"rgb": {
"r": 90,
"g": 91,
"b": 224
},
"hsl": {
"h": 239.552,
"s": 68.367,
"l": 61.569
},
"oklch": {
"l": 0.54729,
"c": 0.19746,
"h": 277.3
},
"luminance": 0.15038
}Semantic roles & 50–950 ramp
primary
#5A5BE0
secondary
#E4E3B2
accent
#CF15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84