#5A5CF3#5A5CF3
#5A5CF3 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.221 H 276.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CF3 |
|---|---|
| RGB | rgb(90, 92, 243) |
| HSL | hsl(239, 86%, 65%) |
| HSV | hsv(239, 63%, 95%) |
| CMYK | cmyk(63%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(47.36, 43.86, -76.09) |
| CIE-LCH | lch(47.36, 87.83, 299.96°) |
| OKLab | oklab(56.42% 0.0235 -0.2193) |
| OKLCH | oklch(56.42% 0.221 276.1) |
| XYZ | xyz(24.2160, 16.2970, 86.6461) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 4.65
Electric Blue
#0652FF
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.60
Mediumslateblue
#7B68EE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CF3 #F3F15A
analogous
#5AA8F3 #5A5CF3 #A55AF3
triadic
#5A5CF3 #F35A5C #5CF35A
tetradic
#5A5CF3 #F35AA8 #F3F15A #5AF3A5
square
#5A5CF3 #F35AA8 #F3F15A #5AF3A5
split-complementary
#5A5CF3 #F3A55A #A8F35A
monochromatic
#0E11C4 #2124EF #5A5CF3 #9394F7 #CCCDFB
Accessibility & contrast
On white
4.93
#5A5CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5A5CF3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CF3
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CF3 | 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)
#0077F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a5cf3; /* rgb */ color: rgb(90, 92, 243); /* oklch */ color: oklch(56.4% 0.221 276.1);
Tailwind
colors: {
custom: {
50: '#988af8',
500: '#5a5cf3',
950: '#000000',
},
}SCSS
$custom: #5a5cf3; $custom-light: #988af8; $custom-dark: #000000;
JSON
{
"hex": "#5a5cf3",
"rgb": {
"r": 90,
"g": 92,
"b": 243
},
"hsl": {
"h": 239.216,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.56415,
"c": 0.22052,
"h": 276.1
},
"luminance": 0.16299
}Semantic roles & 50–950 ramp
primary
#5A5CF3
secondary
#EEEEBB
accent
#E003E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85