#5A5CE3#5A5CE3
#5A5CE3 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.1% C 0.200 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CE3 |
|---|---|
| RGB | rgb(90, 92, 227) |
| HSL | hsl(239, 71%, 62%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(60.4%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(46.14, 38.70, -69.08) |
| CIE-LCH | lch(46.14, 79.18, 299.26°) |
| OKLab | oklab(55.14% 0.0242 -0.1986) |
| OKLCH | oklch(55.14% 0.2 277) |
| XYZ | xyz(21.9042, 15.3723, 74.4710) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.78
Dark Periwinkle
#665FD1
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.25
Iris
#6258C4
ΔE00 4.73
Azul
#1D5DEC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CE3 #E3E15A
analogous
#5AA1E3 #5A5CE3 #9D5AE3
triadic
#5A5CE3 #E35A5C #5CE35A
tetradic
#5A5CE3 #E35AA1 #E3E15A #5AE39D
square
#5A5CE3 #E35AA1 #E3E15A #5AE39D
split-complementary
#5A5CE3 #E39D5A #A1E35A
monochromatic
#1C1EA6 #2628DA #5A5CE3 #8E90EC #C3C3F5
Accessibility & contrast
On white
5.15
#5A5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5A5CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CE3
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CE3 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5ce3; /* rgb */ color: rgb(90, 92, 227); /* oklch */ color: oklch(55.1% 0.200 277.0);
Tailwind
colors: {
custom: {
50: '#968aed',
500: '#5a5ce3',
950: '#000000',
},
}SCSS
$custom: #5a5ce3; $custom-light: #968aed; $custom-dark: #000000;
JSON
{
"hex": "#5a5ce3",
"rgb": {
"r": 90,
"g": 92,
"b": 227
},
"hsl": {
"h": 239.124,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.55135,
"c": 0.20012,
"h": 277
},
"luminance": 0.15374
}Semantic roles & 50–950 ramp
primary
#5A5CE3
secondary
#E6E5B3
accent
#D012D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84