#5C46E1#5C46E1
#5C46E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.223 H 281.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5C46E1 |
|---|---|
| RGB | rgb(92, 70, 225) |
| HSL | hsl(249, 72%, 58%) |
| HSV | hsv(249, 69%, 88%) |
| CMYK | cmyk(59.1%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(41.36, 51.10, -75.74) |
| CIE-LCH | lch(41.36, 91.36, 304.00°) |
| OKLab | oklab(51.65% 0.0452 -0.2182) |
| OKLCH | oklch(51.65% 0.223 281.7) |
| XYZ | xyz(20.1902, 12.0905, 72.4893) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.12
Bluish Purple
#703BE7
ΔE00 3.56
Purpley Blue
#5F34E7
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 3.89
Burple
#6832E3
ΔE00 4.26
Blurple
#5539CC
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C46E1 #CBE146
analogous
#467DE1 #5C46E1 #A946E1
triadic
#5C46E1 #E15C46 #46E15C
tetradic
#5C46E1 #E1467D #CBE146 #46E1A9
square
#5C46E1 #E1467D #CBE146 #46E1A9
split-complementary
#5C46E1 #E1A946 #7DE146
monochromatic
#2A1895 #3921C9 #5C46E1 #8A7BEA #B9AFF2
Accessibility & contrast
On white
6.14
#5C46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5C46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C46E1
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C46E1 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c46e1; /* rgb */ color: rgb(92, 70, 225); /* oklch */ color: oklch(51.6% 0.223 281.7);
Tailwind
colors: {
custom: {
50: '#987bec',
500: '#5c46e1',
950: '#000000',
},
}SCSS
$custom: #5c46e1; $custom-light: #987bec; $custom-dark: #000000;
JSON
{
"hex": "#5c46e1",
"rgb": {
"r": 92,
"g": 70,
"b": 225
},
"hsl": {
"h": 248.516,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.51647,
"c": 0.22283,
"h": 281.7
},
"luminance": 0.12092
}Semantic roles & 50–950 ramp
primary
#5C46E1
secondary
#D8E0A2
accent
#EF39D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84