#4A5AE7#4A5AE7
#4A5AE7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.211 H 272.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5AE7 |
|---|---|
| RGB | rgb(74, 90, 231) |
| HSL | hsl(234, 77%, 60%) |
| HSV | hsv(234, 68%, 91%) |
| CMYK | cmyk(68%, 61%, 0%, 9.4%) |
| CIE-LAB | lab(44.99, 38.89, -73.25) |
| CIE-LCH | lch(44.99, 82.94, 297.97°) |
| OKLab | oklab(54.13% 0.0082 -0.2113) |
| OKLCH | oklch(54.13% 0.211 272.2) |
| XYZ | xyz(20.8992, 14.5357, 77.2901) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.83
Azul
#1D5DEC
ΔE00 3.85
Electric Blue
#0652FF
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.73
Royal Blue
#4169E1
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5AE7 #E7D74A
analogous
#4AA9E7 #4A5AE7 #884AE7
triadic
#4A5AE7 #E74A5A #5AE74A
tetradic
#4A5AE7 #E74AA9 #E7D74A #4AE788
square
#4A5AE7 #E74AA9 #E7D74A #4AE788
split-complementary
#4A5AE7 #E7884A #A9E74A
monochromatic
#1524A1 #1D30D7 #4A5AE7 #808BEE #B6BDF5
Accessibility & contrast
On white
5.37
#4A5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4A5AE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5AE7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5AE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5AE7 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4a5ae7; /* rgb */ color: rgb(74, 90, 231); /* oklch */ color: oklch(54.1% 0.211 272.2);
Tailwind
colors: {
custom: {
50: '#8f88f0',
500: '#4a5ae7',
950: '#000000',
},
}SCSS
$custom: #4a5ae7; $custom-light: #8f88f0; $custom-dark: #000000;
JSON
{
"hex": "#4a5ae7",
"rgb": {
"r": 74,
"g": 90,
"b": 231
},
"hsl": {
"h": 233.885,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.54126,
"c": 0.21149,
"h": 272.2
},
"luminance": 0.14538
}Semantic roles & 50–950 ramp
primary
#4A5AE7
secondary
#E5DFA8
accent
#E035F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85