#5A5BF3#5A5BF3
#5A5BF3 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.222 H 276.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BF3 |
|---|---|
| RGB | rgb(90, 91, 243) |
| HSL | hsl(240, 86%, 65%) |
| HSV | hsv(240, 63%, 95%) |
| CMYK | cmyk(63%, 62.6%, 0%, 4.7%) |
| CIE-LAB | lab(47.14, 44.45, -76.46) |
| CIE-LCH | lch(47.14, 88.44, 300.17°) |
| OKLab | oklab(56.25% 0.0243 -0.2203) |
| OKLCH | oklch(56.25% 0.222 276.3) |
| XYZ | xyz(24.1299, 16.1249, 86.6175) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 4.67
Electric Blue
#0652FF
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.52
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BF3 #F3F25A
analogous
#5AA7F3 #5A5BF3 #A65AF3
triadic
#5A5BF3 #F35A5B #5BF35A
tetradic
#5A5BF3 #F35AA7 #F3F25A #5AF3A6
square
#5A5BF3 #F35AA7 #F3F25A #5AF3A6
split-complementary
#5A5BF3 #F3A65A #A7F35A
monochromatic
#0E0FC4 #2122EF #5A5BF3 #9394F7 #CCCCFB
Accessibility & contrast
On white
4.97
#5A5BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#5A5BF3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BF3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BF3 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a5bf3; /* rgb */ color: rgb(90, 91, 243); /* oklch */ color: oklch(56.3% 0.222 276.3);
Tailwind
colors: {
custom: {
50: '#988af8',
500: '#5a5bf3',
950: '#000000',
},
}SCSS
$custom: #5a5bf3; $custom-light: #988af8; $custom-dark: #000000;
JSON
{
"hex": "#5a5bf3",
"rgb": {
"r": 90,
"g": 91,
"b": 243
},
"hsl": {
"h": 239.608,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.56251,
"c": 0.22168,
"h": 276.3
},
"luminance": 0.16127
}Semantic roles & 50–950 ramp
primary
#5A5BF3
secondary
#EEEEBB
accent
#E203E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85