#5E46E0#5E46E0
#5E46E0 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.221 H 282.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5E46E0 |
|---|---|
| RGB | rgb(94, 70, 224) |
| HSL | hsl(249, 71%, 58%) |
| HSV | hsv(249, 69%, 88%) |
| CMYK | cmyk(58%, 68.8%, 0%, 12.2%) |
| CIE-LAB | lab(41.44, 51.08, -75.03) |
| CIE-LCH | lch(41.44, 90.77, 304.25°) |
| OKLab | oklab(51.72% 0.048 -0.2161) |
| OKLCH | oklch(51.72% 0.221 282.5) |
| XYZ | xyz(20.2566, 12.1405, 71.7825) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.11
Bluish Purple
#703BE7
ΔE00 3.38
Purpley Blue
#5F34E7
ΔE00 3.66
Bluey Purple
#6241C7
ΔE00 3.73
Burple
#6832E3
ΔE00 4.16
Blurple
#5539CC
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E46E0 #C8E046
analogous
#467BE0 #5E46E0 #AB46E0
triadic
#5E46E0 #E05E46 #46E05E
tetradic
#5E46E0 #E0467B #C8E046 #46E0AB
square
#5E46E0 #E0467B #C8E046 #46E0AB
split-complementary
#5E46E0 #E0AB46 #7BE046
monochromatic
#2C1993 #3B21C7 #5E46E0 #8C7AE9 #B9AFF2
Accessibility & contrast
On white
6.13
#5E46E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5E46E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E46E0
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E46E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E46E0 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#086F8E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5e46e0; /* rgb */ color: rgb(94, 70, 224); /* oklch */ color: oklch(51.7% 0.221 282.5);
Tailwind
colors: {
custom: {
50: '#997ceb',
500: '#5e46e0',
950: '#000000',
},
}SCSS
$custom: #5e46e0; $custom-light: #997ceb; $custom-dark: #000000;
JSON
{
"hex": "#5e46e0",
"rgb": {
"r": 94,
"g": 70,
"b": 224
},
"hsl": {
"h": 249.351,
"s": 71.296,
"l": 57.647
},
"oklch": {
"l": 0.51718,
"c": 0.22135,
"h": 282.5
},
"luminance": 0.12142
}Semantic roles & 50–950 ramp
primary
#5E46E0
secondary
#D6E0A2
accent
#EE3AD2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84