#5A5AE9#5A5AE9
#5A5AE9 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.210 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5AE9 |
|---|---|
| RGB | rgb(90, 90, 233) |
| HSL | hsl(240, 76%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(61.4%, 61.4%, 0%, 8.6%) |
| CIE-LAB | lab(46.13, 41.83, -72.48) |
| CIE-LCH | lch(46.13, 83.68, 299.99°) |
| OKLab | oklab(55.27% 0.0257 -0.2086) |
| OKLCH | oklch(55.27% 0.21 277) |
| XYZ | xyz(22.5758, 15.3674, 78.8515) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.09
Dark Periwinkle
#665FD1
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.56
Iris
#6258C4
ΔE00 5.26
Electric Blue
#0652FF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5AE9 #E9E95A
analogous
#5AA1E9 #5A5AE9 #A15AE9
triadic
#5A5AE9 #E95A5A #5AE95A
tetradic
#5A5AE9 #E95AA1 #E9E95A #5AE9A1
square
#5A5AE9 #E95AA1 #E9E95A #5AE9A1
split-complementary
#5A5AE9 #E9A15A #A1E95A
monochromatic
#1818B1 #2424E2 #5A5AE9 #9090F0 #C6C6F7
Accessibility & contrast
On white
5.15
#5A5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5A5AE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5AE9
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5AE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5AE9 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5ae9; /* rgb */ color: rgb(90, 90, 233); /* oklch */ color: oklch(55.3% 0.210 277.0);
Tailwind
colors: {
custom: {
50: '#9789f1',
500: '#5a5ae9',
950: '#000000',
},
}SCSS
$custom: #5a5ae9; $custom-light: #9789f1; $custom-dark: #000000;
JSON
{
"hex": "#5a5ae9",
"rgb": {
"r": 90,
"g": 90,
"b": 233
},
"hsl": {
"h": 240,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.55273,
"c": 0.21023,
"h": 277
},
"luminance": 0.15369
}Semantic roles & 50–950 ramp
primary
#5A5AE9
secondary
#E9E9B6
accent
#D90DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85