#5A5EEB#5A5EEB
#5A5EEB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.208 H 276.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5EEB |
|---|---|
| RGB | rgb(90, 94, 235) |
| HSL | hsl(238, 78%, 64%) |
| HSV | hsv(238, 62%, 92%) |
| CMYK | cmyk(61.7%, 60%, 0%, 7.8%) |
| CIE-LAB | lab(47.20, 40.09, -71.86) |
| CIE-LCH | lch(47.20, 82.29, 299.16°) |
| OKLab | oklab(56.11% 0.0223 -0.2068) |
| OKLCH | oklch(56.11% 0.208 276.1) |
| XYZ | xyz(23.2097, 16.1754, 80.4802) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 5.01
Light Indigo
#6D5ACF
ΔE00 5.08
Azul
#1D5DEC
ΔE00 5.67
Royal Blue
#4169E1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5EEB #EBE75A
analogous
#5AA6EB #5A5EEB #9E5AEB
triadic
#5A5EEB #EB5A5E #5EEB5A
tetradic
#5A5EEB #EB5AA6 #EBE75A #5AEB9E
square
#5A5EEB #EB5AA6 #EBE75A #5AEB9E
split-complementary
#5A5EEB #EB9E5A #A6EB5A
monochromatic
#161AB5 #2329E4 #5A5EEB #9193F2 #C7C9F8
Accessibility & contrast
On white
4.96
#5A5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5A5EEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5EEB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5EEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5EEB | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a5eeb; /* rgb */ color: rgb(90, 94, 235); /* oklch */ color: oklch(56.1% 0.208 276.1);
Tailwind
colors: {
custom: {
50: '#978cf2',
500: '#5a5eeb',
950: '#000000',
},
}SCSS
$custom: #5a5eeb; $custom-light: #978cf2; $custom-dark: #000000;
JSON
{
"hex": "#5a5eeb",
"rgb": {
"r": 90,
"g": 94,
"b": 235
},
"hsl": {
"h": 238.345,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.56107,
"c": 0.20801,
"h": 276.1
},
"luminance": 0.16177
}Semantic roles & 50–950 ramp
primary
#5A5EEB
secondary
#EAE9B7
accent
#D50BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85