#5A5CDC#5A5CDC
#5A5CDC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.191 H 277.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5CDC |
|---|---|
| RGB | rgb(90, 92, 220) |
| HSL | hsl(239, 65%, 61%) |
| HSV | hsv(239, 59%, 86%) |
| CMYK | cmyk(59.1%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.63, 36.44, -65.94) |
| CIE-LCH | lch(45.63, 75.34, 298.93°) |
| OKLab | oklab(54.59% 0.0244 -0.1894) |
| OKLCH | oklch(54.59% 0.191 277.3) |
| XYZ | xyz(20.9577, 14.9937, 69.4859) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.42
Dark Periwinkle
#665FD1
ΔE00 2.48
Slate Blue
#6A5ACD
ΔE00 3.55
Light Indigo
#6D5ACF
ΔE00 3.83
Iris
#6258C4
ΔE00 3.93
Azul
#1D5DEC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5CDC #DCDA5A
analogous
#5A9DDC #5A5CDC #995ADC
triadic
#5A5CDC #DC5A5C #5CDC5A
tetradic
#5A5CDC #DC5A9D #DCDA5A #5ADC99
square
#5A5CDC #DC5A9D #DCDA5A #5ADC99
split-complementary
#5A5CDC #DC995A #9DDC5A
monochromatic
#21239B #2C2ECD #5A5CDC #8C8EE7 #BFC0F1
Accessibility & contrast
On white
5.25
#5A5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5A5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5CDC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5CDC | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a5cdc; /* rgb */ color: rgb(90, 92, 220); /* oklch */ color: oklch(54.6% 0.191 277.3);
Tailwind
colors: {
custom: {
50: '#948ae8',
500: '#5a5cdc',
950: '#000000',
},
}SCSS
$custom: #5a5cdc; $custom-light: #948ae8; $custom-dark: #000000;
JSON
{
"hex": "#5a5cdc",
"rgb": {
"r": 90,
"g": 92,
"b": 220
},
"hsl": {
"h": 239.077,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.54594,
"c": 0.19099,
"h": 277.3
},
"luminance": 0.14995
}Semantic roles & 50–950 ramp
primary
#5A5CDC
secondary
#E2E1B0
accent
#CA19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84