#5D4FD7#5D4FD7
#5D4FD7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.200 H 281.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FD7 |
|---|---|
| RGB | rgb(93, 79, 215) |
| HSL | hsl(246, 63%, 58%) |
| HSV | hsv(246, 63%, 84%) |
| CMYK | cmyk(56.7%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(42.50, 43.12, -68.17) |
| CIE-LCH | lch(42.50, 80.66, 302.31°) |
| OKLab | oklab(52.24% 0.0402 -0.196) |
| OKLCH | oklch(52.24% 0.2 281.6) |
| XYZ | xyz(19.5721, 12.8241, 65.7208) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.73
Warm Blue
#4B57DB
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 4.06
Purpleish Blue
#6140EF
ΔE00 4.37
Bluey Purple
#6241C7
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FD7 #C9D74F
analogous
#4F85D7 #5D4FD7 #A14FD7
triadic
#5D4FD7 #D75D4F #4FD75D
tetradic
#5D4FD7 #D74F85 #C9D74F #4FD7A1
square
#5D4FD7 #D74F85 #C9D74F #4FD7A1
split-complementary
#5D4FD7 #D7A14F #85D74F
monochromatic
#2B208C #3A2BBE #5D4FD7 #8B81E2 #B9B3EE
Accessibility & contrast
On white
5.89
#5D4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5D4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FD7
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FD7 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#19718C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5d4fd7; /* rgb */ color: rgb(93, 79, 215); /* oklch */ color: oklch(52.2% 0.200 281.6);
Tailwind
colors: {
custom: {
50: '#9681e4',
500: '#5d4fd7',
950: '#000000',
},
}SCSS
$custom: #5d4fd7; $custom-light: #9681e4; $custom-dark: #000000;
JSON
{
"hex": "#5d4fd7",
"rgb": {
"r": 93,
"g": 79,
"b": 215
},
"hsl": {
"h": 246.176,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52235,
"c": 0.20004,
"h": 281.6
},
"luminance": 0.12825
}Semantic roles & 50–950 ramp
primary
#5D4FD7
secondary
#D7DCA6
accent
#E642D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84