#4C42E1#4C42E1
#4C42E1 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.230 H 276.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4C42E1 |
|---|---|
| RGB | rgb(76, 66, 225) |
| HSL | hsl(244, 73%, 57%) |
| HSV | hsv(244, 71%, 88%) |
| CMYK | cmyk(66.2%, 70.7%, 0%, 11.8%) |
| CIE-LAB | lab(39.36, 51.24, -79.08) |
| CIE-LCH | lch(39.36, 94.22, 302.94°) |
| OKLab | oklab(49.91% 0.0274 -0.2284) |
| OKLCH | oklch(49.91% 0.23 276.8) |
| XYZ | xyz(18.5149, 10.8676, 72.3415) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.32
Purpley Blue
#5F34E7
ΔE00 3.65
Blurple
#5539CC
ΔE00 3.73
Blue With A Hint Of Purple
#533CC6
ΔE00 3.95
Vibrant Blue
#0339F8
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C42E1 #D7E142
analogous
#4287E1 #4C42E1 #9C42E1
triadic
#4C42E1 #E14C42 #42E14C
tetradic
#4C42E1 #E14287 #D7E142 #42E19C
square
#4C42E1 #E14287 #D7E142 #42E19C
split-complementary
#4C42E1 #E19C42 #87E142
monochromatic
#1F1792 #2A1FC6 #4C42E1 #7E77E9 #B0ACF2
Accessibility & contrast
On white
6.62
#4C42E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4C42E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C42E1
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C42E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C42E1 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0056DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4c42e1; /* rgb */ color: rgb(76, 66, 225); /* oklch */ color: oklch(49.9% 0.230 276.8);
Tailwind
colors: {
custom: {
50: '#9078ec',
500: '#4c42e1',
950: '#000000',
},
}SCSS
$custom: #4c42e1; $custom-light: #9078ec; $custom-dark: #000000;
JSON
{
"hex": "#4c42e1",
"rgb": {
"r": 76,
"g": 66,
"b": 225
},
"hsl": {
"h": 243.774,
"s": 72.603,
"l": 57.059
},
"oklch": {
"l": 0.49909,
"c": 0.23003,
"h": 276.8
},
"luminance": 0.10869
}Semantic roles & 50–950 ramp
primary
#4C42E1
secondary
#DCE09F
accent
#EF38E4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84