#5C4FE2#5C4FE2
#5C4FE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.214 H 280.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4FE2 |
|---|---|
| RGB | rgb(92, 79, 226) |
| HSL | hsl(245, 72%, 60%) |
| HSV | hsv(245, 65%, 89%) |
| CMYK | cmyk(59.3%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(43.30, 46.36, -73.14) |
| CIE-LCH | lch(43.30, 86.60, 302.37°) |
| OKLab | oklab(53.07% 0.0379 -0.2106) |
| OKLCH | oklch(53.07% 0.214 280.2) |
| XYZ | xyz(20.9327, 13.3568, 73.4118) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.69
Purpleish Blue
#6140EF
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.55
Iris
#6258C4
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4FE2 #D5E24F
analogous
#4F8CE2 #5C4FE2 #A54FE2
triadic
#5C4FE2 #E25C4F #4FE25C
tetradic
#5C4FE2 #E24F8C #D5E24F #4FE2A5
square
#5C4FE2 #E24F8C #D5E24F #4FE2A5
split-complementary
#5C4FE2 #E2A54F #8CE24F
monochromatic
#251A9D #3222D1 #5C4FE2 #8D84EB #BDB8F3
Accessibility & contrast
On white
5.72
#5C4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5C4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4FE2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4FE2 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5c4fe2; /* rgb */ color: rgb(92, 79, 226); /* oklch */ color: oklch(53.1% 0.214 280.2);
Tailwind
colors: {
custom: {
50: '#9781ec',
500: '#5c4fe2',
950: '#000000',
},
}SCSS
$custom: #5c4fe2; $custom-light: #9781ec; $custom-dark: #000000;
JSON
{
"hex": "#5c4fe2",
"rgb": {
"r": 92,
"g": 79,
"b": 226
},
"hsl": {
"h": 245.306,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.53068,
"c": 0.21396,
"h": 280.2
},
"luminance": 0.13358
}Semantic roles & 50–950 ramp
primary
#5C4FE2
secondary
#DEE3AA
accent
#EE39DE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84