#5A5EE3#5A5EE3
#5A5EE3 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.198 H 276.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5EE3 |
|---|---|
| RGB | rgb(90, 94, 227) |
| HSL | hsl(238, 71%, 62%) |
| HSV | hsv(238, 60%, 89%) |
| CMYK | cmyk(60.4%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(46.61, 37.50, -68.31) |
| CIE-LCH | lch(46.61, 77.93, 298.76°) |
| OKLab | oklab(55.48% 0.0225 -0.1964) |
| OKLCH | oklch(55.48% 0.198 276.5) |
| XYZ | xyz(22.0798, 15.7234, 74.5295) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.01
Warm Blue
#4B57DB
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.48
Iris
#6258C4
ΔE00 4.98
Azul
#1D5DEC
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5EE3 #E3DF5A
analogous
#5AA3E3 #5A5EE3 #9A5AE3
triadic
#5A5EE3 #E35A5E #5EE35A
tetradic
#5A5EE3 #E35AA3 #E3DF5A #5AE39A
square
#5A5EE3 #E35AA3 #E3DF5A #5AE39A
split-complementary
#5A5EE3 #E39A5A #A3E35A
monochromatic
#1C20A6 #262BDA #5A5EE3 #8E91EC #C3C4F5
Accessibility & contrast
On white
5.07
#5A5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5A5EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5EE3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5EE3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5ee3; /* rgb */ color: rgb(90, 94, 227); /* oklch */ color: oklch(55.5% 0.198 276.5);
Tailwind
colors: {
custom: {
50: '#958ced',
500: '#5a5ee3',
950: '#000000',
},
}SCSS
$custom: #5a5ee3; $custom-light: #958ced; $custom-dark: #000000;
JSON
{
"hex": "#5a5ee3",
"rgb": {
"r": 90,
"g": 94,
"b": 227
},
"hsl": {
"h": 238.248,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.55482,
"c": 0.19767,
"h": 276.5
},
"luminance": 0.15725
}Semantic roles & 50–950 ramp
primary
#5A5EE3
secondary
#E6E4B3
accent
#CD12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84