#5D4FC2#5D4FC2
#5D4FC2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.173 H 283.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FC2 |
|---|---|
| RGB | rgb(93, 79, 194) |
| HSL | hsl(247, 49%, 54%) |
| HSV | hsv(247, 59%, 76%) |
| CMYK | cmyk(52.1%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(40.92, 36.63, -58.61) |
| CIE-LCH | lch(40.92, 69.11, 302.00°) |
| OKLab | oklab(50.58% 0.0414 -0.1679) |
| OKLCH | oklch(50.58% 0.173 283.9) |
| XYZ | xyz(17.0448, 11.8132, 52.4105) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.76
Bluey Purple
#6241C7
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.46
Warm Blue
#4B57DB
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FC2 #B4C24F
analogous
#4F7AC2 #5D4FC2 #964FC2
triadic
#5D4FC2 #C25D4F #4FC25D
tetradic
#5D4FC2 #C24F7A #B4C24F #4FC296
square
#5D4FC2 #C24F7A #B4C24F #4FC296
split-complementary
#5D4FC2 #C2964F #7AC24F
monochromatic
#302770 #43379D #5D4FC2 #877CD2 #B1AAE2
Accessibility & contrast
On white
6.24
#5D4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5D4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FC2
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FC2 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#356A81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5d4fc2; /* rgb */ color: rgb(93, 79, 194); /* oklch */ color: oklch(50.6% 0.173 283.9);
Tailwind
colors: {
custom: {
50: '#9381d5',
500: '#5d4fc2',
950: '#000000',
},
}SCSS
$custom: #5d4fc2; $custom-light: #9381d5; $custom-dark: #000000;
JSON
{
"hex": "#5d4fc2",
"rgb": {
"r": 93,
"g": 79,
"b": 194
},
"hsl": {
"h": 247.304,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.50583,
"c": 0.1729,
"h": 283.9
},
"luminance": 0.11814
}Semantic roles & 50–950 ramp
primary
#5D4FC2
secondary
#C9CF9E
accent
#D850C7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83