#5C4CD3#5C4CD3
#5C4CD3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.4% C 0.199 H 282.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4CD3 |
|---|---|
| RGB | rgb(92, 76, 211) |
| HSL | hsl(247, 61%, 56%) |
| HSV | hsv(247, 64%, 83%) |
| CMYK | cmyk(56.4%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(41.45, 43.46, -67.58) |
| CIE-LCH | lch(41.45, 80.35, 302.74°) |
| OKLab | oklab(51.35% 0.042 -0.1943) |
| OKLCH | oklch(51.35% 0.199 282.2) |
| XYZ | xyz(18.7523, 12.1461, 62.9717) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.60
Iris
#6258C4
ΔE00 4.08
Purpleish Blue
#6140EF
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4CD3 #C3D34C
analogous
#4C80D3 #5C4CD3 #A04CD3
triadic
#5C4CD3 #D35C4C #4CD35C
tetradic
#5C4CD3 #D34C80 #C3D34C #4CD3A0
square
#5C4CD3 #D34C80 #C3D34C #4CD3A0
split-complementary
#5C4CD3 #D3A04C #80D34C
monochromatic
#2C2084 #3D2DB5 #5C4CD3 #897DDF #B5AEEB
Accessibility & contrast
On white
6.12
#5C4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5C4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4CD3
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4CD3 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#1D6E89
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c4cd3; /* rgb */ color: rgb(92, 76, 211); /* oklch */ color: oklch(51.4% 0.199 282.2);
Tailwind
colors: {
custom: {
50: '#957fe1',
500: '#5c4cd3',
950: '#000000',
},
}SCSS
$custom: #5c4cd3; $custom-light: #957fe1; $custom-dark: #000000;
JSON
{
"hex": "#5c4cd3",
"rgb": {
"r": 92,
"g": 76,
"b": 211
},
"hsl": {
"h": 247.111,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.51353,
"c": 0.19878,
"h": 282.2
},
"luminance": 0.12147
}Semantic roles & 50–950 ramp
primary
#5C4CD3
secondary
#D3D9A2
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83