#5A5BDD#5A5BDD
#5A5BDD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.194 H 277.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BDD |
|---|---|
| RGB | rgb(90, 91, 221) |
| HSL | hsl(240, 66%, 61%) |
| HSV | hsv(240, 59%, 87%) |
| CMYK | cmyk(59.3%, 58.8%, 0%, 13.3%) |
| CIE-LAB | lab(45.46, 37.37, -66.77) |
| CIE-LCH | lch(45.46, 76.52, 299.23°) |
| OKLab | oklab(54.5% 0.0253 -0.1919) |
| OKLCH | oklch(54.5% 0.194 277.5) |
| XYZ | xyz(21.0045, 14.8747, 70.1568) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.31
Dark Periwinkle
#665FD1
ΔE00 2.63
Slate Blue
#6A5ACD
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.79
Iris
#6258C4
ΔE00 3.93
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BDD #DDDC5A
analogous
#5A9CDD #5A5BDD #9A5ADD
triadic
#5A5BDD #DD5A5B #5BDD5A
tetradic
#5A5BDD #DD5A9C #DDDC5A #5ADD9A
square
#5A5BDD #DD5A9C #DDDC5A #5ADD9A
split-complementary
#5A5BDD #DD9A5A #9CDD5A
monochromatic
#20219C #2B2CCF #5A5BDD #8D8DE7 #BFC0F2
Accessibility & contrast
On white
5.28
#5A5BDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5A5BDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BDD
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BDD | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5bdd; /* rgb */ color: rgb(90, 91, 221); /* oklch */ color: oklch(54.5% 0.194 277.5);
Tailwind
colors: {
custom: {
50: '#9589e8',
500: '#5a5bdd',
950: '#000000',
},
}SCSS
$custom: #5a5bdd; $custom-light: #9589e8; $custom-dark: #000000;
JSON
{
"hex": "#5a5bdd",
"rgb": {
"r": 90,
"g": 91,
"b": 221
},
"hsl": {
"h": 239.542,
"s": 65.829,
"l": 60.98
},
"oklch": {
"l": 0.54496,
"c": 0.19355,
"h": 277.5
},
"luminance": 0.14876
}Semantic roles & 50–950 ramp
primary
#5A5BDD
secondary
#E2E2B1
accent
#CC18CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84