#4A54E1#4A54E1
#4A54E1 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.211 H 273.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4A54E1 |
|---|---|
| RGB | rgb(74, 84, 225) |
| HSL | hsl(236, 72%, 59%) |
| HSV | hsv(236, 67%, 88%) |
| CMYK | cmyk(67.1%, 62.7%, 0%, 11.8%) |
| CIE-LAB | lab(43.11, 40.52, -72.93) |
| CIE-LCH | lch(43.11, 83.43, 299.06°) |
| OKLab | oklab(52.59% 0.0129 -0.2104) |
| OKLCH | oklch(52.59% 0.211 273.5) |
| XYZ | xyz(19.5804, 13.2309, 72.7415) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.15
Electric Blue
#0652FF
ΔE00 4.08
Azul
#1D5DEC
ΔE00 4.96
Iris
#6258C4
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A54E1 #E1D74A
analogous
#4AA0E1 #4A54E1 #8B4AE1
triadic
#4A54E1 #E14A54 #54E14A
tetradic
#4A54E1 #E14AA0 #E1D74A #4AE18B
square
#4A54E1 #E14AA0 #E1D74A #4AE18B
split-complementary
#4A54E1 #E18B4A #A0E14A
monochromatic
#192197 #222DCC #4A54E1 #7E86EA #B3B7F2
Accessibility & contrast
On white
5.76
#4A54E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#4A54E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A54E1
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A54E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A54E1 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4a54e1; /* rgb */ color: rgb(74, 84, 225); /* oklch */ color: oklch(52.6% 0.211 273.5);
Tailwind
colors: {
custom: {
50: '#8e84eb',
500: '#4a54e1',
950: '#000000',
},
}SCSS
$custom: #4a54e1; $custom-light: #8e84eb; $custom-dark: #000000;
JSON
{
"hex": "#4a54e1",
"rgb": {
"r": 74,
"g": 84,
"b": 225
},
"hsl": {
"h": 236.026,
"s": 71.564,
"l": 58.627
},
"oklch": {
"l": 0.52592,
"c": 0.21081,
"h": 273.5
},
"luminance": 0.13233
}Semantic roles & 50–950 ramp
primary
#4A54E1
secondary
#E1DDA6
accent
#E239EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84