#4A50E7#4A50E7
#4A50E7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.223 H 273.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4A50E7 |
|---|---|
| RGB | rgb(74, 80, 231) |
| HSL | hsl(238, 77%, 60%) |
| HSV | hsv(238, 68%, 91%) |
| CMYK | cmyk(68%, 65.4%, 0%, 9.4%) |
| CIE-LAB | lab(42.70, 44.91, -76.99) |
| CIE-LCH | lch(42.70, 89.14, 300.26°) |
| OKLab | oklab(52.45% 0.0152 -0.2224) |
| OKLCH | oklch(52.45% 0.223 273.9) |
| XYZ | xyz(20.1117, 12.9608, 77.0276) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.47
Electric Blue
#0652FF
ΔE00 3.92
Purpleish Blue
#6140EF
ΔE00 4.91
Blue (survey)
#0343DF
ΔE00 5.66
Iris
#6258C4
ΔE00 5.74
Azul
#1D5DEC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A50E7 #E7E14A
analogous
#4A9FE7 #4A50E7 #934AE7
triadic
#4A50E7 #E74A50 #50E74A
tetradic
#4A50E7 #E74A9F #E7E14A #4AE793
square
#4A50E7 #E74A9F #E7E14A #4AE793
split-complementary
#4A50E7 #E7934A #9FE74A
monochromatic
#151BA1 #1D24D7 #4A50E7 #8084EE #B6B8F5
Accessibility & contrast
On white
5.85
#4A50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4A50E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A50E7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A50E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A50E7 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a50e7; /* rgb */ color: rgb(74, 80, 231); /* oklch */ color: oklch(52.4% 0.223 273.9);
Tailwind
colors: {
custom: {
50: '#9081f0',
500: '#4a50e7',
950: '#000000',
},
}SCSS
$custom: #4a50e7; $custom-light: #9081f0; $custom-dark: #000000;
JSON
{
"hex": "#4a50e7",
"rgb": {
"r": 74,
"g": 80,
"b": 231
},
"hsl": {
"h": 237.707,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.5245,
"c": 0.22288,
"h": 273.9
},
"luminance": 0.12963
}Semantic roles & 50–950 ramp
primary
#4A50E7
secondary
#E5E2A8
accent
#EC35F3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85