#5A5EE9#5A5EE9
#5A5EE9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.0% C 0.205 H 276.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5EE9 |
|---|---|
| RGB | rgb(90, 94, 233) |
| HSL | hsl(238, 76%, 63%) |
| HSV | hsv(238, 61%, 91%) |
| CMYK | cmyk(61.4%, 59.7%, 0%, 8.6%) |
| CIE-LAB | lab(47.05, 39.44, -70.98) |
| CIE-LCH | lch(47.05, 81.20, 299.06°) |
| OKLab | oklab(55.95% 0.0223 -0.2042) |
| OKLCH | oklch(55.95% 0.205 276.2) |
| XYZ | xyz(22.9223, 16.0604, 78.9670) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 4.83
Light Indigo
#6D5ACF
ΔE00 4.92
Azul
#1D5DEC
ΔE00 5.62
Iris
#6258C4
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5EE9 #E9E55A
analogous
#5AA5E9 #5A5EE9 #9D5AE9
triadic
#5A5EE9 #E95A5E #5EE95A
tetradic
#5A5EE9 #E95AA5 #E9E55A #5AE99D
square
#5A5EE9 #E95AA5 #E9E55A #5AE99D
split-complementary
#5A5EE9 #E99D5A #A5E95A
monochromatic
#181CB1 #2429E2 #5A5EE9 #9093F0 #C6C7F7
Accessibility & contrast
On white
4.99
#5A5EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5A5EE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5EE9
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5EE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5EE9 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a5ee9; /* rgb */ color: rgb(90, 94, 233); /* oklch */ color: oklch(56.0% 0.205 276.2);
Tailwind
colors: {
custom: {
50: '#968cf1',
500: '#5a5ee9',
950: '#000000',
},
}SCSS
$custom: #5a5ee9; $custom-light: #968cf1; $custom-dark: #000000;
JSON
{
"hex": "#5a5ee9",
"rgb": {
"r": 90,
"g": 94,
"b": 233
},
"hsl": {
"h": 238.322,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.5595,
"c": 0.20544,
"h": 276.2
},
"luminance": 0.16062
}Semantic roles & 50–950 ramp
primary
#5A5EE9
secondary
#E9E7B6
accent
#D30DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85