#5C4CC2#5C4CC2
#5C4CC2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.177 H 284.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4CC2 |
|---|---|
| RGB | rgb(92, 76, 194) |
| HSL | hsl(248, 49%, 53%) |
| HSV | hsv(248, 61%, 76%) |
| CMYK | cmyk(52.6%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.14, 38.23, -59.87) |
| CIE-LCH | lch(40.14, 71.03, 302.56°) |
| OKLab | oklab(50% 0.0433 -0.1716) |
| OKLCH | oklch(50% 0.177 284.1) |
| XYZ | xyz(16.7327, 11.3383, 52.3353) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.23
Iris
#6258C4
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 3.74
Blue With A Hint Of Purple
#533CC6
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.81
Blurple
#5539CC
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4CC2 #B2C24C
analogous
#4C77C2 #5C4CC2 #974CC2
triadic
#5C4CC2 #C25C4C #4CC25C
tetradic
#5C4CC2 #C24C77 #B2C24C #4CC297
square
#5C4CC2 #C24C77 #B2C24C #4CC297
split-complementary
#5C4CC2 #C2974C #77C24C
monochromatic
#2F266E #43359C #5C4CC2 #867AD2 #AFA7E1
Accessibility & contrast
On white
6.43
#5C4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5C4CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4CC2
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4CC2 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#326880
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5c4cc2; /* rgb */ color: rgb(92, 76, 194); /* oklch */ color: oklch(50.0% 0.177 284.1);
Tailwind
colors: {
custom: {
50: '#937fd5',
500: '#5c4cc2',
950: '#000000',
},
}SCSS
$custom: #5c4cc2; $custom-light: #937fd5; $custom-dark: #000000;
JSON
{
"hex": "#5c4cc2",
"rgb": {
"r": 92,
"g": 76,
"b": 194
},
"hsl": {
"h": 248.136,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.49995,
"c": 0.17697,
"h": 284.1
},
"luminance": 0.11339
}Semantic roles & 50–950 ramp
primary
#5C4CC2
secondary
#C7CE9B
accent
#D94FC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83