#5C45E6#5C45E6
#5C45E6 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 52.0% C 0.230 H 281.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5C45E6 |
|---|---|
| RGB | rgb(92, 69, 230) |
| HSL | hsl(249, 76%, 59%) |
| HSV | hsv(249, 70%, 90%) |
| CMYK | cmyk(60%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(41.60, 53.13, -78.19) |
| CIE-LCH | lch(41.60, 94.53, 304.20°) |
| OKLab | oklab(51.95% 0.0451 -0.2254) |
| OKLCH | oklch(51.95% 0.23 281.3) |
| XYZ | xyz(20.8202, 12.2432, 76.1136) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.56
Bluish Purple
#703BE7
ΔE00 3.33
Purpley Blue
#5F34E7
ΔE00 3.49
Burple
#6832E3
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.37
Blurple
#5539CC
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C45E6 #CFE645
analogous
#457EE6 #5C45E6 #AC45E6
triadic
#5C45E6 #E65C45 #45E65C
tetradic
#5C45E6 #E6457E #CFE645 #45E6AC
square
#5C45E6 #E6457E #CFE645 #45E6AC
split-complementary
#5C45E6 #E6AC45 #7EE645
monochromatic
#28159C #361CD2 #5C45E6 #8B7BED #BBB1F5
Accessibility & contrast
On white
6.09
#5C45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5C45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C45E6
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C45E6 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c45e6; /* rgb */ color: rgb(92, 69, 230); /* oklch */ color: oklch(52.0% 0.230 281.3);
Tailwind
colors: {
custom: {
50: '#997bef',
500: '#5c45e6',
950: '#000000',
},
}SCSS
$custom: #5c45e6; $custom-light: #997bef; $custom-dark: #000000;
JSON
{
"hex": "#5c45e6",
"rgb": {
"r": 92,
"g": 69,
"b": 230
},
"hsl": {
"h": 248.571,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.51952,
"c": 0.22984,
"h": 281.3
},
"luminance": 0.12245
}Semantic roles & 50–950 ramp
primary
#5C45E6
secondary
#DAE3A4
accent
#F335D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85