#4A54E5#4A54E5
#4A54E5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.216 H 273.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4A54E5 |
|---|---|
| RGB | rgb(74, 84, 229) |
| HSL | hsl(236, 75%, 59%) |
| HSV | hsv(236, 68%, 90%) |
| CMYK | cmyk(67.7%, 63.3%, 0%, 10.2%) |
| CIE-LAB | lab(43.44, 41.86, -74.66) |
| CIE-LCH | lch(43.44, 85.60, 299.28°) |
| OKLab | oklab(52.93% 0.0126 -0.2155) |
| OKLCH | oklch(52.93% 0.216 273.3) |
| XYZ | xyz(20.1325, 13.4518, 75.6490) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.51
Electric Blue
#0652FF
ΔE00 3.80
Azul
#1D5DEC
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.22
Iris
#6258C4
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A54E5 #E5DB4A
analogous
#4AA2E5 #4A54E5 #8E4AE5
triadic
#4A54E5 #E54A54 #54E54A
tetradic
#4A54E5 #E54AA2 #E5DB4A #4AE58E
square
#4A54E5 #E54AA2 #E5DB4A #4AE58E
split-complementary
#4A54E5 #E58E4A #A2E54A
monochromatic
#171F9E #1E2AD3 #4A54E5 #8087ED #B5B9F4
Accessibility & contrast
On white
5.69
#4A54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#4A54E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A54E5
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A54E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A54E5 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4a54e5; /* rgb */ color: rgb(74, 84, 229); /* oklch */ color: oklch(52.9% 0.216 273.3);
Tailwind
colors: {
custom: {
50: '#8f84ee',
500: '#4a54e5',
950: '#000000',
},
}SCSS
$custom: #4a54e5; $custom-light: #8f84ee; $custom-dark: #000000;
JSON
{
"hex": "#4a54e5",
"rgb": {
"r": 74,
"g": 84,
"b": 229
},
"hsl": {
"h": 236.129,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.52933,
"c": 0.21588,
"h": 273.3
},
"luminance": 0.13454
}Semantic roles & 50–950 ramp
primary
#4A54E5
secondary
#E4E0A7
accent
#E536F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85