#5C42E0#5C42E0
#5C42E0 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.226 H 282.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5C42E0 |
|---|---|
| RGB | rgb(92, 66, 224) |
| HSL | hsl(250, 72%, 57%) |
| HSV | hsv(250, 71%, 88%) |
| CMYK | cmyk(58.9%, 70.5%, 0%, 12.2%) |
| CIE-LAB | lab(40.50, 52.95, -76.59) |
| CIE-LCH | lch(40.50, 93.11, 304.66°) |
| OKLab | oklab(51% 0.0483 -0.2207) |
| OKLCH | oklch(51% 0.226 282.4) |
| XYZ | xyz(19.8122, 11.5522, 71.6923) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.02
Purpley Blue
#5F34E7
ΔE00 2.78
Bluish Purple
#703BE7
ΔE00 3.15
Burple
#6832E3
ΔE00 3.40
Bluey Purple
#6241C7
ΔE00 3.42
Blurple
#5539CC
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C42E0 #C6E042
analogous
#4277E0 #5C42E0 #AB42E0
triadic
#5C42E0 #E05C42 #42E05C
tetradic
#5C42E0 #E04277 #C6E042 #42E0AB
square
#5C42E0 #E04277 #C6E042 #42E0AB
split-complementary
#5C42E0 #E0AB42 #77E042
monochromatic
#2B1890 #3B20C5 #5C42E0 #8977E9 #B7ABF1
Accessibility & contrast
On white
6.34
#5C42E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5C42E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C42E0
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C42E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C42E0 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#006D8D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5c42e0; /* rgb */ color: rgb(92, 66, 224); /* oklch */ color: oklch(51.0% 0.226 282.4);
Tailwind
colors: {
custom: {
50: '#9879eb',
500: '#5c42e0',
950: '#000000',
},
}SCSS
$custom: #5c42e0; $custom-light: #9879eb; $custom-dark: #000000;
JSON
{
"hex": "#5c42e0",
"rgb": {
"r": 92,
"g": 66,
"b": 224
},
"hsl": {
"h": 249.873,
"s": 71.818,
"l": 56.863
},
"oklch": {
"l": 0.51004,
"c": 0.22591,
"h": 282.4
},
"luminance": 0.11554
}Semantic roles & 50–950 ramp
primary
#5C42E0
secondary
#D5DF9F
accent
#EF39D1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84