#4A51E7#4A51E7
#4A51E7 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.222 H 273.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4A51E7 |
|---|---|
| RGB | rgb(74, 81, 231) |
| HSL | hsl(237, 77%, 60%) |
| HSV | hsv(237, 68%, 91%) |
| CMYK | cmyk(68%, 64.9%, 0%, 9.4%) |
| CIE-LAB | lab(42.93, 44.32, -76.63) |
| CIE-LCH | lch(42.93, 88.52, 300.04°) |
| OKLab | oklab(52.61% 0.0145 -0.2213) |
| OKLCH | oklch(52.61% 0.222 273.8) |
| XYZ | xyz(20.1855, 13.1083, 77.0522) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.26
Electric Blue
#0652FF
ΔE00 3.83
Purpleish Blue
#6140EF
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.59
Iris
#6258C4
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A51E7 #E7E04A
analogous
#4A9FE7 #4A51E7 #924AE7
triadic
#4A51E7 #E74A51 #51E74A
tetradic
#4A51E7 #E74A9F #E7E04A #4AE792
square
#4A51E7 #E74A9F #E7E04A #4AE792
split-complementary
#4A51E7 #E7924A #9FE74A
monochromatic
#151CA1 #1D25D7 #4A51E7 #8085EE #B6B9F5
Accessibility & contrast
On white
5.80
#4A51E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#4A51E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A51E7
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A51E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A51E7 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a51e7; /* rgb */ color: rgb(74, 81, 231); /* oklch */ color: oklch(52.6% 0.222 273.8);
Tailwind
colors: {
custom: {
50: '#9082f0',
500: '#4a51e7',
950: '#000000',
},
}SCSS
$custom: #4a51e7; $custom-light: #9082f0; $custom-dark: #000000;
JSON
{
"hex": "#4a51e7",
"rgb": {
"r": 74,
"g": 81,
"b": 231
},
"hsl": {
"h": 237.325,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.52612,
"c": 0.22177,
"h": 273.8
},
"luminance": 0.1311
}Semantic roles & 50–950 ramp
primary
#4A51E7
secondary
#E5E2A8
accent
#EB35F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85