#5D4CDB#5D4CDB
#5D4CDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.209 H 281.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4CDB |
|---|---|
| RGB | rgb(93, 76, 219) |
| HSL | hsl(247, 67%, 58%) |
| HSV | hsv(247, 65%, 86%) |
| CMYK | cmyk(57.5%, 65.3%, 0%, 14.1%) |
| CIE-LAB | lab(42.17, 46.08, -70.99) |
| CIE-LCH | lch(42.17, 84.63, 302.99°) |
| OKLab | oklab(52.1% 0.0424 -0.2043) |
| OKLCH | oklch(52.1% 0.209 281.7) |
| XYZ | xyz(19.8808, 12.6092, 68.3903) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.47
Bluey Purple
#6241C7
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 4.32
Iris
#6258C4
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4CDB #CADB4C
analogous
#4C82DB #5D4CDB #A54CDB
triadic
#5D4CDB #DB5D4C #4CDB5D
tetradic
#5D4CDB #DB4C82 #CADB4C #4CDBA5
square
#5D4CDB #DB4C82 #CADB4C #4CDBA5
split-complementary
#5D4CDB #DBA54C #82DB4C
monochromatic
#2B1D90 #3A27C3 #5D4CDB #8B7FE5 #B9B2EF
Accessibility & contrast
On white
5.96
#5D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5D4CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4CDB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4CDB | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#10708D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5d4cdb; /* rgb */ color: rgb(93, 76, 219); /* oklch */ color: oklch(52.1% 0.209 281.7);
Tailwind
colors: {
custom: {
50: '#977fe7',
500: '#5d4cdb',
950: '#000000',
},
}SCSS
$custom: #5d4cdb; $custom-light: #977fe7; $custom-dark: #000000;
JSON
{
"hex": "#5d4cdb",
"rgb": {
"r": 93,
"g": 76,
"b": 219
},
"hsl": {
"h": 247.133,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.52095,
"c": 0.20862,
"h": 281.7
},
"luminance": 0.12611
}Semantic roles & 50–950 ramp
primary
#5D4CDB
secondary
#D7DEA5
accent
#E93ED5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84