#5E4FE2#5E4FE2
#5E4FE2 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.214 H 280.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4FE2 |
|---|---|
| RGB | rgb(94, 79, 226) |
| HSL | hsl(246, 72%, 60%) |
| HSV | hsv(246, 65%, 89%) |
| CMYK | cmyk(58.4%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(43.45, 46.67, -72.88) |
| CIE-LCH | lch(43.45, 86.54, 302.63°) |
| OKLab | oklab(53.22% 0.0404 -0.2098) |
| OKLCH | oklch(53.22% 0.214 280.9) |
| XYZ | xyz(21.1352, 13.4612, 73.4213) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.40
Iris
#6258C4
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4FE2 #D3E24F
analogous
#4F8AE2 #5E4FE2 #A74FE2
triadic
#5E4FE2 #E25E4F #4FE25E
tetradic
#5E4FE2 #E24F8A #D3E24F #4FE2A7
square
#5E4FE2 #E24F8A #D3E24F #4FE2A7
split-complementary
#5E4FE2 #E2A74F #8AE24F
monochromatic
#271A9D #3422D1 #5E4FE2 #8E84EB #BEB8F3
Accessibility & contrast
On white
5.69
#5E4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5E4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4FE2
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4FE2 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5e4fe2; /* rgb */ color: rgb(94, 79, 226); /* oklch */ color: oklch(53.2% 0.214 280.9);
Tailwind
colors: {
custom: {
50: '#9881ec',
500: '#5e4fe2',
950: '#000000',
},
}SCSS
$custom: #5e4fe2; $custom-light: #9881ec; $custom-dark: #000000;
JSON
{
"hex": "#5e4fe2",
"rgb": {
"r": 94,
"g": 79,
"b": 226
},
"hsl": {
"h": 246.122,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.53218,
"c": 0.21362,
"h": 280.9
},
"luminance": 0.13463
}Semantic roles & 50–950 ramp
primary
#5E4FE2
secondary
#DDE3AA
accent
#EE39DC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84