#5A5CDA#5A5CDA
#5A5CDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.188 H 277.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CDA |
|---|---|
| RGB | rgb(90, 92, 218) |
| HSL | hsl(239, 63%, 60%) |
| HSV | hsv(239, 59%, 85%) |
| CMYK | cmyk(58.7%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.48, 35.79, -65.04) |
| CIE-LCH | lch(45.48, 74.23, 298.83°) |
| OKLab | oklab(54.44% 0.0244 -0.1868) |
| OKLCH | oklch(54.44% 0.188 277.4) |
| XYZ | xyz(20.6944, 14.8884, 68.0993) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.36
Warm Blue
#4B57DB
ΔE00 2.37
Slate Blue
#6A5ACD
ΔE00 3.42
Iris
#6258C4
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 3.75
Azul
#1D5DEC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CDA #DAD85A
analogous
#5A9CDA #5A5CDA #985ADA
triadic
#5A5CDA #DA5A5C #5CDA5A
tetradic
#5A5CDA #DA5A9C #DAD85A #5ADA98
square
#5A5CDA #DA5A9C #DAD85A #5ADA98
split-complementary
#5A5CDA #DA985A #9CDA5A
monochromatic
#222498 #2D30CA #5A5CDA #8C8DE5 #BEBFF0
Accessibility & contrast
On white
5.28
#5A5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5A5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CDA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CDA | 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)
#0071DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007A92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5cda; /* rgb */ color: rgb(90, 92, 218); /* oklch */ color: oklch(54.4% 0.188 277.4);
Tailwind
colors: {
custom: {
50: '#948ae6',
500: '#5a5cda',
950: '#000000',
},
}SCSS
$custom: #5a5cda; $custom-light: #948ae6; $custom-dark: #000000;
JSON
{
"hex": "#5a5cda",
"rgb": {
"r": 90,
"g": 92,
"b": 218
},
"hsl": {
"h": 239.063,
"s": 63.366,
"l": 60.392
},
"oklch": {
"l": 0.54441,
"c": 0.18836,
"h": 277.4
},
"luminance": 0.1489
}Semantic roles & 50–950 ramp
primary
#5A5CDA
secondary
#E0E0AF
accent
#C81ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84