#5E45E6#5E45E6
#5E45E6 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.1% C 0.230 H 282.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5E45E6 |
|---|---|
| RGB | rgb(94, 69, 230) |
| HSL | hsl(249, 76%, 59%) |
| HSV | hsv(249, 70%, 90%) |
| CMYK | cmyk(59.1%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(41.76, 53.40, -77.91) |
| CIE-LCH | lch(41.76, 94.46, 304.43°) |
| OKLab | oklab(52.11% 0.0477 -0.2245) |
| OKLCH | oklch(52.11% 0.23 282) |
| XYZ | xyz(21.0227, 12.3477, 76.1231) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.45
Bluish Purple
#703BE7
ΔE00 3.12
Purpley Blue
#5F34E7
ΔE00 3.47
Burple
#6832E3
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.34
Blurple
#5539CC
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E45E6 #CDE645
analogous
#457CE6 #5E45E6 #AE45E6
triadic
#5E45E6 #E65E45 #45E65E
tetradic
#5E45E6 #E6457C #CDE645 #45E6AE
square
#5E45E6 #E6457C #CDE645 #45E6AE
split-complementary
#5E45E6 #E6AE45 #7CE645
monochromatic
#2A159C #381CD2 #5E45E6 #8D7BED #BBB1F5
Accessibility & contrast
On white
6.05
#5E45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5E45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E45E6
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E45E6 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007091
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5e45e6; /* rgb */ color: rgb(94, 69, 230); /* oklch */ color: oklch(52.1% 0.230 282.0);
Tailwind
colors: {
custom: {
50: '#9a7bef',
500: '#5e45e6',
950: '#000000',
},
}SCSS
$custom: #5e45e6; $custom-light: #9a7bef; $custom-dark: #000000;
JSON
{
"hex": "#5e45e6",
"rgb": {
"r": 94,
"g": 69,
"b": 230
},
"hsl": {
"h": 249.317,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.5211,
"c": 0.22953,
"h": 282
},
"luminance": 0.12349
}Semantic roles & 50–950 ramp
primary
#5E45E6
secondary
#D9E3A4
accent
#F335D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85