#5D5CDC#5D5CDC
#5D5CDC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.8% C 0.190 H 278.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CDC |
|---|---|
| RGB | rgb(93, 92, 220) |
| HSL | hsl(240, 65%, 61%) |
| HSV | hsv(240, 58%, 86%) |
| CMYK | cmyk(57.7%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.84, 36.96, -65.59) |
| CIE-LCH | lch(45.84, 75.29, 299.40°) |
| OKLab | oklab(54.8% 0.0279 -0.1883) |
| OKLCH | oklch(54.8% 0.19 278.4) |
| XYZ | xyz(21.2555, 15.1473, 69.4999) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.18
Warm Blue
#4B57DB
ΔE00 2.79
Slate Blue
#6A5ACD
ΔE00 3.20
Light Indigo
#6D5ACF
ΔE00 3.44
Iris
#6258C4
ΔE00 3.79
Azul
#1D5DEC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CDC #DBDC5C
analogous
#5C9BDC #5D5CDC #9D5CDC
triadic
#5D5CDC #DC5D5C #5CDC5D
tetradic
#5D5CDC #DC5C9B #DBDC5C #5CDC9D
square
#5D5CDC #DC5C9B #DBDC5C #5CDC9D
split-complementary
#5D5CDC #DC9D5C #9BDC5C
monochromatic
#22229C #2E2CCE #5D5CDC #8F8EE7 #C1C1F2
Accessibility & contrast
On white
5.21
#5D5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5D5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CDC
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CDC | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#047B93
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5d5cdc; /* rgb */ color: rgb(93, 92, 220); /* oklch */ color: oklch(54.8% 0.190 278.4);
Tailwind
colors: {
custom: {
50: '#968ae8',
500: '#5d5cdc',
950: '#000000',
},
}SCSS
$custom: #5d5cdc; $custom-light: #968ae8; $custom-dark: #000000;
JSON
{
"hex": "#5d5cdc",
"rgb": {
"r": 93,
"g": 92,
"b": 220
},
"hsl": {
"h": 240.469,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.54803,
"c": 0.19037,
"h": 278.4
},
"luminance": 0.15149
}Semantic roles & 50–950 ramp
primary
#5D5CDC
secondary
#E2E2B2
accent
#CC19CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84