#4A42E9#4A42E9
#4A42E9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.5% C 0.240 H 275.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4A42E9 |
|---|---|
| RGB | rgb(74, 66, 233) |
| HSL | hsl(243, 79%, 59%) |
| HSV | hsv(243, 72%, 91%) |
| CMYK | cmyk(68.2%, 71.7%, 0%, 8.6%) |
| CIE-LAB | lab(39.97, 53.52, -82.62) |
| CIE-LCH | lch(39.97, 98.44, 302.93°) |
| OKLab | oklab(50.54% 0.0235 -0.2388) |
| OKLCH | oklch(50.54% 0.24 275.6) |
| XYZ | xyz(19.4754, 11.2337, 78.2170) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.92
Purpley Blue
#5F34E7
ΔE00 3.69
Vibrant Blue
#0339F8
ΔE00 3.72
Light Royal Blue
#3A2EFE
ΔE00 4.00
Blurple
#5539CC
ΔE00 4.53
Vivid Blue
#152EFF
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A42E9 #E1E942
analogous
#428DE9 #4A42E9 #9D42E9
triadic
#4A42E9 #E94A42 #42E94A
tetradic
#4A42E9 #E9428D #E1E942 #42E99D
square
#4A42E9 #E9428D #E1E942 #42E99D
split-complementary
#4A42E9 #E99D42 #8DE942
monochromatic
#19129E #2219D5 #4A42E9 #7E79EF #B3B0F6
Accessibility & contrast
On white
6.47
#4A42E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4A42E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A42E9
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A42E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A42E9 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066EE
Deuteranopia (green-blind)
#0057E6
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4a42e9; /* rgb */ color: rgb(74, 66, 233); /* oklch */ color: oklch(50.5% 0.240 275.6);
Tailwind
colors: {
custom: {
50: '#9178f1',
500: '#4a42e9',
950: '#000000',
},
}SCSS
$custom: #4a42e9; $custom-light: #9178f1; $custom-dark: #000000;
JSON
{
"hex": "#4a42e9",
"rgb": {
"r": 74,
"g": 66,
"b": 233
},
"hsl": {
"h": 242.874,
"s": 79.147,
"l": 58.627
},
"oklch": {
"l": 0.50538,
"c": 0.23995,
"h": 275.6
},
"luminance": 0.11235
}Semantic roles & 50–950 ramp
primary
#4A42E9
secondary
#E1E4A2
accent
#F632EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85