#5C4CC7#5C4CC7
#5C4CC7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.183 H 283.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4CC7 |
|---|---|
| RGB | rgb(92, 76, 199) |
| HSL | hsl(248, 52%, 54%) |
| HSV | hsv(248, 62%, 78%) |
| CMYK | cmyk(53.8%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(40.52, 39.76, -62.16) |
| CIE-LCH | lch(40.52, 73.79, 302.61°) |
| OKLab | oklab(50.39% 0.043 -0.1784) |
| OKLCH | oklch(50.39% 0.183 283.5) |
| XYZ | xyz(17.3037, 11.5667, 55.3426) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.15
Iris
#6258C4
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 4.14
Blue With A Hint Of Purple
#533CC6
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.61
Blurple
#5539CC
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4CC7 #B7C74C
analogous
#4C7AC7 #5C4CC7 #9A4CC7
triadic
#5C4CC7 #C75C4C #4CC75C
tetradic
#5C4CC7 #C74C7A #B7C74C #4CC79A
square
#5C4CC7 #C74C7A #B7C74C #4CC79A
split-complementary
#5C4CC7 #C79A4C #7AC74C
monochromatic
#2F2474 #4233A3 #5C4CC7 #867BD6 #B1A9E4
Accessibility & contrast
On white
6.34
#5C4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5C4CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4CC7
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4CC7 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#2D6A82
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5c4cc7; /* rgb */ color: rgb(92, 76, 199); /* oklch */ color: oklch(50.4% 0.183 283.5);
Tailwind
colors: {
custom: {
50: '#937fd9',
500: '#5c4cc7',
950: '#000000',
},
}SCSS
$custom: #5c4cc7; $custom-light: #937fd9; $custom-dark: #000000;
JSON
{
"hex": "#5c4cc7",
"rgb": {
"r": 92,
"g": 76,
"b": 199
},
"hsl": {
"h": 247.805,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.50386,
"c": 0.18346,
"h": 283.5
},
"luminance": 0.11568
}Semantic roles & 50–950 ramp
primary
#5C4CC7
secondary
#CBD29D
accent
#DC4CC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83