#5C4FD5#5C4FD5
#5C4FD5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.198 H 281.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4FD5 |
|---|---|
| RGB | rgb(92, 79, 213) |
| HSL | hsl(246, 61%, 57%) |
| HSV | hsv(246, 63%, 84%) |
| CMYK | cmyk(56.8%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(42.26, 42.33, -67.41) |
| CIE-LCH | lch(42.26, 79.59, 302.13°) |
| OKLab | oklab(52% 0.0391 -0.1937) |
| OKLCH | oklch(52% 0.198 281.4) |
| XYZ | xyz(19.2161, 12.6701, 64.3709) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 3.69
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.11
Bluey Purple
#6241C7
ΔE00 4.46
Purpleish Blue
#6140EF
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4FD5 #C8D54F
analogous
#4F85D5 #5C4FD5 #9F4FD5
triadic
#5C4FD5 #D55C4F #4FD55C
tetradic
#5C4FD5 #D54F85 #C8D54F #4FD59F
square
#5C4FD5 #D54F85 #C8D54F #4FD59F
split-complementary
#5C4FD5 #D59F4F #85D54F
monochromatic
#2B2189 #3A2CBA #5C4FD5 #8A80E1 #B8B2ED
Accessibility & contrast
On white
5.94
#5C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5C4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4FD5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4FD5 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#18708B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5c4fd5; /* rgb */ color: rgb(92, 79, 213); /* oklch */ color: oklch(52.0% 0.198 281.4);
Tailwind
colors: {
custom: {
50: '#9581e3',
500: '#5c4fd5',
950: '#000000',
},
}SCSS
$custom: #5c4fd5; $custom-light: #9581e3; $custom-dark: #000000;
JSON
{
"hex": "#5c4fd5",
"rgb": {
"r": 92,
"g": 79,
"b": 213
},
"hsl": {
"h": 245.821,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.51995,
"c": 0.19765,
"h": 281.4
},
"luminance": 0.12671
}Semantic roles & 50–950 ramp
primary
#5C4FD5
secondary
#D6DBA5
accent
#E543D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84