#5A5CE9#5A5CE9
#5A5CE9 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.208 H 276.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE9 |
|---|---|
| RGB | rgb(90, 92, 233) |
| HSL | hsl(239, 76%, 63%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(61.4%, 60.5%, 0%, 8.6%) |
| CIE-LAB | lab(46.59, 40.64, -71.73) |
| CIE-LCH | lch(46.59, 82.44, 299.54°) |
| OKLab | oklab(55.61% 0.024 -0.2064) |
| OKLCH | oklch(55.61% 0.208 276.6) |
| XYZ | xyz(22.7468, 15.7093, 78.9085) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.70
Iris
#6258C4
ΔE00 5.42
Electric Blue
#0652FF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE9 #E9E75A
analogous
#5AA3E9 #5A5CE9 #9F5AE9
triadic
#5A5CE9 #E95A5C #5CE95A
tetradic
#5A5CE9 #E95AA3 #E9E75A #5AE99F
square
#5A5CE9 #E95AA3 #E9E75A #5AE99F
split-complementary
#5A5CE9 #E99F5A #A3E95A
monochromatic
#181AB1 #2427E2 #5A5CE9 #9091F0 #C6C7F7
Accessibility & contrast
On white
5.07
#5A5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5A5CE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE9
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE9 | 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)
#0075EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5ce9; /* rgb */ color: rgb(90, 92, 233); /* oklch */ color: oklch(55.6% 0.208 276.6);
Tailwind
colors: {
custom: {
50: '#978af1',
500: '#5a5ce9',
950: '#000000',
},
}SCSS
$custom: #5a5ce9; $custom-light: #978af1; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce9",
"rgb": {
"r": 90,
"g": 92,
"b": 233
},
"hsl": {
"h": 239.161,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.55609,
"c": 0.20784,
"h": 276.6
},
"luminance": 0.15711
}Semantic roles & 50–950 ramp
primary
#5A5CE9
secondary
#E9E8B6
accent
#D60DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85