#5E4BCA#5E4BCA
#5E4BCA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.188 H 284.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4BCA |
|---|---|
| RGB | rgb(94, 75, 202) |
| HSL | hsl(249, 55%, 54%) |
| HSV | hsv(249, 63%, 79%) |
| CMYK | cmyk(53.5%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(40.70, 41.63, -63.61) |
| CIE-LCH | lch(40.70, 76.02, 303.21°) |
| OKLab | oklab(50.63% 0.0463 -0.1825) |
| OKLCH | oklch(50.63% 0.188 284.2) |
| XYZ | xyz(17.7896, 11.6751, 57.1818) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.80
Iris
#6258C4
ΔE00 3.91
Blue With A Hint Of Purple
#533CC6
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 4.41
Blurple
#5539CC
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4BCA #B7CA4B
analogous
#4B78CA #5E4BCA #9D4BCA
triadic
#5E4BCA #CA5E4B #4BCA5E
tetradic
#5E4BCA #CA4B78 #B7CA4B #4BCA9D
square
#5E4BCA #CA4B78 #B7CA4B #4BCA9D
split-complementary
#5E4BCA #CA9D4B #78CA4B
monochromatic
#302377 #4331A7 #5E4BCA #887AD8 #B3AAE6
Accessibility & contrast
On white
6.30
#5E4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#5E4BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4BCA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4BCA | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#306A83
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5e4bca; /* rgb */ color: rgb(94, 75, 202); /* oklch */ color: oklch(50.6% 0.188 284.2);
Tailwind
colors: {
custom: {
50: '#957edb',
500: '#5e4bca',
950: '#000000',
},
}SCSS
$custom: #5e4bca; $custom-light: #957edb; $custom-dark: #000000;
JSON
{
"hex": "#5e4bca",
"rgb": {
"r": 94,
"g": 75,
"b": 202
},
"hsl": {
"h": 248.976,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.50628,
"c": 0.18834,
"h": 284.2
},
"luminance": 0.11676
}Semantic roles & 50–950 ramp
primary
#5E4BCA
secondary
#CBD39D
accent
#DE4AC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83