#5A5AE3#5A5AE3
#5A5AE3 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.203 H 277.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5AE3 |
|---|---|
| RGB | rgb(90, 90, 227) |
| HSL | hsl(240, 71%, 62%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(60.4%, 60.4%, 0%, 11%) |
| CIE-LAB | lab(45.68, 39.91, -69.83) |
| CIE-LCH | lch(45.68, 80.43, 299.75°) |
| OKLab | oklab(54.79% 0.026 -0.2009) |
| OKLCH | oklch(54.79% 0.203 277.4) |
| XYZ | xyz(21.7333, 15.0304, 74.4140) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.57
Dark Periwinkle
#665FD1
ΔE00 3.19
Slate Blue
#6A5ACD
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.10
Iris
#6258C4
ΔE00 4.54
Electric Blue
#0652FF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5AE3 #E3E35A
analogous
#5A9FE3 #5A5AE3 #9F5AE3
triadic
#5A5AE3 #E35A5A #5AE35A
tetradic
#5A5AE3 #E35A9F #E3E35A #5AE39F
square
#5A5AE3 #E35A9F #E3E35A #5AE39F
split-complementary
#5A5AE3 #E39F5A #9FE35A
monochromatic
#1C1CA6 #2626DA #5A5AE3 #8E8EEC #C3C3F5
Accessibility & contrast
On white
5.24
#5A5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5A5AE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5AE3
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5AE3 | 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)
#0072E7
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5ae3; /* rgb */ color: rgb(90, 90, 227); /* oklch */ color: oklch(54.8% 0.203 277.4);
Tailwind
colors: {
custom: {
50: '#9689ed',
500: '#5a5ae3',
950: '#000000',
},
}SCSS
$custom: #5a5ae3; $custom-light: #9689ed; $custom-dark: #000000;
JSON
{
"hex": "#5a5ae3",
"rgb": {
"r": 90,
"g": 90,
"b": 227
},
"hsl": {
"h": 240,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.54794,
"c": 0.20255,
"h": 277.4
},
"luminance": 0.15032
}Semantic roles & 50–950 ramp
primary
#5A5AE3
secondary
#E6E6B3
accent
#D312D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84