#5E4AC7#5E4AC7
#5E4AC7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.186 H 284.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4AC7 |
|---|---|
| RGB | rgb(94, 74, 199) |
| HSL | hsl(250, 53%, 54%) |
| HSV | hsv(250, 63%, 78%) |
| CMYK | cmyk(52.8%, 62.8%, 0%, 22%) |
| CIE-LAB | lab(40.25, 41.31, -62.60) |
| CIE-LCH | lch(40.25, 75.00, 303.42°) |
| OKLab | oklab(50.23% 0.0476 -0.1796) |
| OKLCH | oklch(50.23% 0.186 284.8) |
| XYZ | xyz(17.3706, 11.3998, 55.3068) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.48
Blue With A Hint Of Purple
#533CC6
ΔE00 3.86
Ocean Blue
#4F42B5
ΔE00 3.99
Iris
#6258C4
ΔE00 4.13
Blurple
#5539CC
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4AC7 #B3C74A
analogous
#4A74C7 #5E4AC7 #9C4AC7
triadic
#5E4AC7 #C75E4A #4AC75E
tetradic
#5E4AC7 #C74A74 #B3C74A #4AC79C
square
#5E4AC7 #C74A74 #B3C74A #4AC79C
split-complementary
#5E4AC7 #C79C4A #74C74A
monochromatic
#302473 #4432A2 #5E4AC7 #8879D5 #B1A7E4
Accessibility & contrast
On white
6.40
#5E4AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5E4AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4AC7
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4AC7 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#336882
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5e4ac7; /* rgb */ color: rgb(94, 74, 199); /* oklch */ color: oklch(50.2% 0.186 284.8);
Tailwind
colors: {
custom: {
50: '#957dd9',
500: '#5e4ac7',
950: '#000000',
},
}SCSS
$custom: #5e4ac7; $custom-light: #957dd9; $custom-dark: #000000;
JSON
{
"hex": "#5e4ac7",
"rgb": {
"r": 94,
"g": 74,
"b": 199
},
"hsl": {
"h": 249.6,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.50229,
"c": 0.18578,
"h": 284.8
},
"luminance": 0.11401
}Semantic roles & 50–950 ramp
primary
#5E4AC7
secondary
#C9D19C
accent
#DC4CC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83