#5E4CD9#5E4CD9
#5E4CD9 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.206 H 282.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4CD9 |
|---|---|
| RGB | rgb(94, 76, 217) |
| HSL | hsl(248, 65%, 57%) |
| HSV | hsv(248, 65%, 85%) |
| CMYK | cmyk(56.7%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(42.09, 45.63, -69.97) |
| CIE-LCH | lch(42.09, 83.53, 303.11°) |
| OKLab | oklab(52.01% 0.044 -0.2013) |
| OKLCH | oklch(52.01% 0.206 282.3) |
| XYZ | xyz(19.7210, 12.5571, 67.0167) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.44
Iris
#6258C4
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4CD9 #C7D94C
analogous
#4C80D9 #5E4CD9 #A54CD9
triadic
#5E4CD9 #D95E4C #4CD95E
tetradic
#5E4CD9 #D94C80 #C7D94C #4CD9A5
square
#5E4CD9 #D94C80 #C7D94C #4CD9A5
split-complementary
#5E4CD9 #D9A54C #80D94C
monochromatic
#2C1E8D #3C29BF #5E4CD9 #8B7EE4 #B9B1EE
Accessibility & contrast
On white
5.98
#5E4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5E4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4CD9
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4CD9 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#1B708C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5e4cd9; /* rgb */ color: rgb(94, 76, 217); /* oklch */ color: oklch(52.0% 0.206 282.3);
Tailwind
colors: {
custom: {
50: '#977fe6',
500: '#5e4cd9',
950: '#000000',
},
}SCSS
$custom: #5e4cd9; $custom-light: #977fe6; $custom-dark: #000000;
JSON
{
"hex": "#5e4cd9",
"rgb": {
"r": 94,
"g": 76,
"b": 217
},
"hsl": {
"h": 247.66,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.52007,
"c": 0.20599,
"h": 282.3
},
"luminance": 0.12558
}Semantic roles & 50–950 ramp
primary
#5E4CD9
secondary
#D6DDA4
accent
#E840D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84