#4A5ED8#4A5ED8
#4A5ED8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.187 H 271.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5ED8 |
|---|---|
| RGB | rgb(74, 94, 216) |
| HSL | hsl(232, 65%, 57%) |
| HSV | hsv(232, 66%, 85%) |
| CMYK | cmyk(65.7%, 56.5%, 0%, 15.3%) |
| CIE-LAB | lab(44.83, 31.28, -65.00) |
| CIE-LCH | lch(44.83, 72.14, 295.70°) |
| OKLab | oklab(53.65% 0.0051 -0.1871) |
| OKLCH | oklch(53.65% 0.187 271.6) |
| XYZ | xyz(19.2172, 14.4174, 66.7225) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Azul
#1D5DEC
ΔE00 3.67
Royal Blue
#4169E1
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.45
Iris
#6258C4
ΔE00 5.33
Electric Blue
#0652FF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5ED8 #D8C44A
analogous
#4AA5D8 #4A5ED8 #7D4AD8
triadic
#4A5ED8 #D84A5E #5ED84A
tetradic
#4A5ED8 #D84AA5 #D8C44A #4AD87D
square
#4A5ED8 #D84AA5 #D8C44A #4AD87D
split-complementary
#4A5ED8 #D87D4A #A5D84A
monochromatic
#1E2D8A #293DBC #4A5ED8 #7C8BE3 #AFB8EE
Accessibility & contrast
On white
5.41
#4A5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#4A5ED8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5ED8
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5ED8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5ED8 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4a5ed8; /* rgb */ color: rgb(74, 94, 216); /* oklch */ color: oklch(53.6% 0.187 271.6);
Tailwind
colors: {
custom: {
50: '#8c8be5',
500: '#4a5ed8',
950: '#000000',
},
}SCSS
$custom: #4a5ed8; $custom-light: #8c8be5; $custom-dark: #000000;
JSON
{
"hex": "#4a5ed8",
"rgb": {
"r": 74,
"g": 94,
"b": 216
},
"hsl": {
"h": 231.549,
"s": 64.545,
"l": 56.863
},
"oklch": {
"l": 0.53646,
"c": 0.18713,
"h": 271.6
},
"luminance": 0.14419
}Semantic roles & 50–950 ramp
primary
#4A5ED8
secondary
#DCD4A2
accent
#D040E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84