#4A56E7#4A56E7
#4A56E7 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.216 H 272.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56E7 |
|---|---|
| RGB | rgb(74, 86, 231) |
| HSL | hsl(235, 77%, 60%) |
| HSV | hsv(235, 68%, 91%) |
| CMYK | cmyk(68%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(44.06, 41.32, -74.78) |
| CIE-LCH | lch(44.06, 85.43, 298.93°) |
| OKLab | oklab(53.44% 0.0111 -0.2158) |
| OKLCH | oklch(53.44% 0.216 272.9) |
| XYZ | xyz(20.5708, 13.8790, 77.1806) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.53
Electric Blue
#0652FF
ΔE00 3.69
Azul
#1D5DEC
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 5.04
Iris
#6258C4
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56E7 #E7DB4A
analogous
#4AA5E7 #4A56E7 #8D4AE7
triadic
#4A56E7 #E74A56 #56E74A
tetradic
#4A56E7 #E74AA5 #E7DB4A #4AE78D
square
#4A56E7 #E74AA5 #E7DB4A #4AE78D
split-complementary
#4A56E7 #E78D4A #A5E74A
monochromatic
#1520A1 #1D2BD7 #4A56E7 #8088EE #B6BBF5
Accessibility & contrast
On white
5.56
#4A56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#4A56E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56E7
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56E7 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a56e7; /* rgb */ color: rgb(74, 86, 231); /* oklch */ color: oklch(53.4% 0.216 272.9);
Tailwind
colors: {
custom: {
50: '#8f86f0',
500: '#4a56e7',
950: '#000000',
},
}SCSS
$custom: #4a56e7; $custom-light: #8f86f0; $custom-dark: #000000;
JSON
{
"hex": "#4a56e7",
"rgb": {
"r": 74,
"g": 86,
"b": 231
},
"hsl": {
"h": 235.414,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.5344,
"c": 0.21611,
"h": 272.9
},
"luminance": 0.13881
}Semantic roles & 50–950 ramp
primary
#4A56E7
secondary
#E5E0A8
accent
#E535F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85