#4A5FE1#4A5FE1
#4A5FE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.198 H 271.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FE1 |
|---|---|
| RGB | rgb(74, 95, 225) |
| HSL | hsl(232, 72%, 59%) |
| HSV | hsv(232, 67%, 88%) |
| CMYK | cmyk(67.1%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(45.74, 33.76, -68.64) |
| CIE-LCH | lch(45.74, 76.50, 296.19°) |
| OKLab | oklab(54.53% 0.0044 -0.1977) |
| OKLCH | oklch(54.53% 0.198 271.3) |
| XYZ | xyz(20.5023, 15.0746, 73.0488) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.71
Azul
#1D5DEC
ΔE00 3.38
Royal Blue
#4169E1
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 4.60
Bright Blue
#0165FC
ΔE00 5.04
Electric Blue
#0652FF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FE1 #E1CC4A
analogous
#4AAAE1 #4A5FE1 #804AE1
triadic
#4A5FE1 #E14A5F #5FE14A
tetradic
#4A5FE1 #E14AAA #E1CC4A #4AE180
square
#4A5FE1 #E14AAA #E1CC4A #4AE180
split-complementary
#4A5FE1 #E1804A #AAE14A
monochromatic
#192B97 #2239CC #4A5FE1 #7E8DEA #B3BCF2
Accessibility & contrast
On white
5.23
#4A5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4A5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FE1
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FE1 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4a5fe1; /* rgb */ color: rgb(74, 95, 225); /* oklch */ color: oklch(54.5% 0.198 271.3);
Tailwind
colors: {
custom: {
50: '#8d8ceb',
500: '#4a5fe1',
950: '#000000',
},
}SCSS
$custom: #4a5fe1; $custom-light: #8d8ceb; $custom-dark: #000000;
JSON
{
"hex": "#4a5fe1",
"rgb": {
"r": 74,
"g": 95,
"b": 225
},
"hsl": {
"h": 231.656,
"s": 71.564,
"l": 58.627
},
"oklch": {
"l": 0.54534,
"c": 0.19779,
"h": 271.3
},
"luminance": 0.15077
}Semantic roles & 50–950 ramp
primary
#4A5FE1
secondary
#E1D9A6
accent
#D539EE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84