#5A5BCD#5A5BCD
#5A5BCD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.172 H 278.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BCD |
|---|---|
| RGB | rgb(90, 91, 205) |
| HSL | hsl(239, 53%, 58%) |
| HSV | hsv(239, 56%, 80%) |
| CMYK | cmyk(56.1%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.32, 32.21, -59.47) |
| CIE-LCH | lch(44.32, 67.63, 298.44°) |
| OKLab | oklab(53.29% 0.0253 -0.1704) |
| OKLCH | oklch(53.29% 0.172 278.4) |
| XYZ | xyz(18.9735, 14.0623, 59.4603) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.31
Dark Periwinkle
#665FD1
ΔE00 2.36
Warm Blue
#4B57DB
ΔE00 2.77
Slate Blue
#6A5ACD
ΔE00 2.96
Light Indigo
#6D5ACF
ΔE00 3.51
Azul
#1D5DEC
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BCD #CDCC5A
analogous
#5A95CD #5A5BCD #925ACD
triadic
#5A5BCD #CD5A5B #5BCD5A
tetradic
#5A5BCD #CD5A95 #CDCC5A #5ACD92
square
#5A5BCD #CD5A95 #CDCC5A #5ACD92
split-complementary
#5A5BCD #CD925A #95CD5A
monochromatic
#282984 #3637B3 #5A5BCD #898ADB #B8B8E9
Accessibility & contrast
On white
5.51
#5A5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5A5BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BCD
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BCD | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026ED1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#1B758B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5a5bcd; /* rgb */ color: rgb(90, 91, 205); /* oklch */ color: oklch(53.3% 0.172 278.4);
Tailwind
colors: {
custom: {
50: '#9289dd',
500: '#5a5bcd',
950: '#000000',
},
}SCSS
$custom: #5a5bcd; $custom-light: #9289dd; $custom-dark: #000000;
JSON
{
"hex": "#5a5bcd",
"rgb": {
"r": 90,
"g": 91,
"b": 205
},
"hsl": {
"h": 239.478,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.5329,
"c": 0.17227,
"h": 278.4
},
"luminance": 0.14064
}Semantic roles & 50–950 ramp
primary
#5A5BCD
secondary
#D8D8AA
accent
#DC4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83