#5A5AE7#5A5AE7
#5A5AE7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.1% C 0.208 H 277.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5AE7 |
|---|---|
| RGB | rgb(90, 90, 231) |
| HSL | hsl(240, 75%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(61%, 61%, 0%, 9.4%) |
| CIE-LAB | lab(45.98, 41.19, -71.60) |
| CIE-LCH | lch(45.98, 82.60, 299.91°) |
| OKLab | oklab(55.11% 0.0258 -0.2061) |
| OKLCH | oklch(55.11% 0.208 277.1) |
| XYZ | xyz(22.2918, 15.2538, 77.3554) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.40
Iris
#6258C4
ΔE00 5.02
Electric Blue
#0652FF
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5AE7 #E7E75A
analogous
#5AA0E7 #5A5AE7 #A05AE7
triadic
#5A5AE7 #E75A5A #5AE75A
tetradic
#5A5AE7 #E75AA0 #E7E75A #5AE7A0
square
#5A5AE7 #E75AA0 #E7E75A #5AE7A0
split-complementary
#5A5AE7 #E7A05A #A0E75A
monochromatic
#1919AD #2525DF #5A5AE7 #8F8FEF #C5C5F7
Accessibility & contrast
On white
5.18
#5A5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5A5AE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5AE7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5AE7 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5ae7; /* rgb */ color: rgb(90, 90, 231); /* oklch */ color: oklch(55.1% 0.208 277.1);
Tailwind
colors: {
custom: {
50: '#9689f0',
500: '#5a5ae7',
950: '#000000',
},
}SCSS
$custom: #5a5ae7; $custom-light: #9689f0; $custom-dark: #000000;
JSON
{
"hex": "#5a5ae7",
"rgb": {
"r": 90,
"g": 90,
"b": 231
},
"hsl": {
"h": 240,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.55112,
"c": 0.20768,
"h": 277.1
},
"luminance": 0.15256
}Semantic roles & 50–950 ramp
primary
#5A5AE7
secondary
#E8E8B5
accent
#D70FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85