#5A5EED#5A5EED
#5A5EED is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.211 H 276.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5EED |
|---|---|
| RGB | rgb(90, 94, 237) |
| HSL | hsl(238, 80%, 64%) |
| HSV | hsv(238, 62%, 93%) |
| CMYK | cmyk(62%, 60.3%, 0%, 7.1%) |
| CIE-LAB | lab(47.35, 40.74, -72.74) |
| CIE-LCH | lch(47.35, 83.37, 299.25°) |
| OKLab | oklab(56.27% 0.0222 -0.2094) |
| OKLCH | oklch(56.27% 0.211 276) |
| XYZ | xyz(23.5002, 16.2916, 82.0105) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.25
Azul
#1D5DEC
ΔE00 5.73
Electric Blue
#0652FF
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5EED #EDE95A
analogous
#5AA8ED #5A5EED #A05AED
triadic
#5A5EED #ED5A5E #5EED5A
tetradic
#5A5EED #ED5AA8 #EDE95A #5AEDA0
square
#5A5EED #ED5AA8 #EDE95A #5AEDA0
split-complementary
#5A5EED #EDA05A #A8ED5A
monochromatic
#1419B8 #2328E7 #5A5EED #9194F3 #C8CAF9
Accessibility & contrast
On white
4.93
#5A5EED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5A5EED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5EED
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5EED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5EED | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a5eed; /* rgb */ color: rgb(90, 94, 237); /* oklch */ color: oklch(56.3% 0.211 276.0);
Tailwind
colors: {
custom: {
50: '#978cf4',
500: '#5a5eed',
950: '#000000',
},
}SCSS
$custom: #5a5eed; $custom-light: #978cf4; $custom-dark: #000000;
JSON
{
"hex": "#5a5eed",
"rgb": {
"r": 90,
"g": 94,
"b": 237
},
"hsl": {
"h": 238.367,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.56266,
"c": 0.21057,
"h": 276
},
"luminance": 0.16293
}Semantic roles & 50–950 ramp
primary
#5A5EED
secondary
#EBEAB8
accent
#D709DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85