#4D42E2#4D42E2
#4D42E2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.231 H 277.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4D42E2 |
|---|---|
| RGB | rgb(77, 66, 226) |
| HSL | hsl(244, 73%, 57%) |
| HSV | hsv(244, 71%, 89%) |
| CMYK | cmyk(65.9%, 70.8%, 0%, 11.4%) |
| CIE-LAB | lab(39.52, 51.66, -79.38) |
| CIE-LCH | lch(39.52, 94.71, 303.06°) |
| OKLab | oklab(50.07% 0.0285 -0.2292) |
| OKLCH | oklch(50.07% 0.231 277.1) |
| XYZ | xyz(18.7318, 10.9636, 73.0658) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.14
Purpley Blue
#5F34E7
ΔE00 3.55
Blurple
#5539CC
ΔE00 3.80
Blue With A Hint Of Purple
#533CC6
ΔE00 4.05
Vibrant Blue
#0339F8
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D42E2 #D7E242
analogous
#4287E2 #4D42E2 #9D42E2
triadic
#4D42E2 #E24D42 #42E24D
tetradic
#4D42E2 #E24287 #D7E242 #42E29D
square
#4D42E2 #E24287 #D7E242 #42E29D
split-complementary
#4D42E2 #E29D42 #87E242
monochromatic
#1F1793 #2A1FC8 #4D42E2 #7F77EA #B1ACF2
Accessibility & contrast
On white
6.58
#4D42E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#4D42E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D42E2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D42E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D42E2 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4d42e2; /* rgb */ color: rgb(77, 66, 226); /* oklch */ color: oklch(50.1% 0.231 277.1);
Tailwind
colors: {
custom: {
50: '#9178ec',
500: '#4d42e2',
950: '#000000',
},
}SCSS
$custom: #4d42e2; $custom-light: #9178ec; $custom-dark: #000000;
JSON
{
"hex": "#4d42e2",
"rgb": {
"r": 77,
"g": 66,
"b": 226
},
"hsl": {
"h": 244.125,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.50071,
"c": 0.23101,
"h": 277.1
},
"luminance": 0.10965
}Semantic roles & 50–950 ramp
primary
#4D42E2
secondary
#DCE09F
accent
#F038E3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84