#5E4BC4#5E4BC4
#5E4BC4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.181 H 285.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4BC4 |
|---|---|
| RGB | rgb(94, 75, 196) |
| HSL | hsl(249, 51%, 53%) |
| HSV | hsv(249, 62%, 77%) |
| CMYK | cmyk(52%, 61.7%, 0%, 23.1%) |
| CIE-LAB | lab(40.24, 39.81, -60.87) |
| CIE-LCH | lch(40.24, 72.73, 303.19°) |
| OKLab | oklab(50.15% 0.0468 -0.1745) |
| OKLCH | oklch(50.15% 0.181 285) |
| XYZ | xyz(17.0930, 11.3965, 53.5129) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.77
Iris
#6258C4
ΔE00 3.85
Ocean Blue
#4F42B5
ΔE00 3.88
Blue With A Hint Of Purple
#533CC6
ΔE00 4.11
Blurple
#5539CC
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4BC4 #B1C44B
analogous
#4B75C4 #5E4BC4 #9A4BC4
triadic
#5E4BC4 #C45E4B #4BC45E
tetradic
#5E4BC4 #C44B75 #B1C44B #4BC49A
square
#5E4BC4 #C44B75 #B1C44B #4BC49A
split-complementary
#5E4BC4 #C49A4B #75C44B
monochromatic
#302570 #44349E #5E4BC4 #8779D3 #B0A7E2
Accessibility & contrast
On white
6.40
#5E4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5E4BC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4BC4
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4BC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4BC4 | 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)
#0062C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#366880
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5e4bc4; /* rgb */ color: rgb(94, 75, 196); /* oklch */ color: oklch(50.2% 0.181 285.0);
Tailwind
colors: {
custom: {
50: '#947ed7',
500: '#5e4bc4',
950: '#000000',
},
}SCSS
$custom: #5e4bc4; $custom-light: #947ed7; $custom-dark: #000000;
JSON
{
"hex": "#5e4bc4",
"rgb": {
"r": 94,
"g": 75,
"b": 196
},
"hsl": {
"h": 249.421,
"s": 50.628,
"l": 53.137
},
"oklch": {
"l": 0.50154,
"c": 0.18065,
"h": 285
},
"luminance": 0.11397
}Semantic roles & 50–950 ramp
primary
#5E4BC4
secondary
#C7CF9B
accent
#DA4EC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83