#4A5EC7#4A5EC7
#4A5EC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.164 H 271.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5EC7 |
|---|---|
| RGB | rgb(74, 94, 199) |
| HSL | hsl(230, 53%, 54%) |
| HSV | hsv(230, 63%, 78%) |
| CMYK | cmyk(62.8%, 52.8%, 0%, 22%) |
| CIE-LAB | lab(43.63, 25.42, -57.18) |
| CIE-LCH | lch(43.63, 62.58, 293.96°) |
| OKLab | oklab(52.37% 0.0043 -0.164) |
| OKLCH | oklch(52.37% 0.164 271.5) |
| XYZ | xyz(17.1321, 13.5833, 55.7408) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.68
Azul
#1D5DEC
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.10
Iris
#6258C4
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5EC7 #C7B34A
analogous
#4A9CC7 #4A5EC7 #744AC7
triadic
#4A5EC7 #C74A5E #5EC74A
tetradic
#4A5EC7 #C74A9C #C7B34A #4AC774
square
#4A5EC7 #C74A9C #C7B34A #4AC774
split-complementary
#4A5EC7 #C7744A #9CC74A
monochromatic
#243073 #3244A2 #4A5EC7 #7988D5 #A7B1E4
Accessibility & contrast
On white
5.65
#4A5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4A5EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5EC7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5EC7 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4a5ec7; /* rgb */ color: rgb(74, 94, 199); /* oklch */ color: oklch(52.4% 0.164 271.5);
Tailwind
colors: {
custom: {
50: '#898bd9',
500: '#4a5ec7',
950: '#000000',
},
}SCSS
$custom: #4a5ec7; $custom-light: #898bd9; $custom-dark: #000000;
JSON
{
"hex": "#4a5ec7",
"rgb": {
"r": 74,
"g": 94,
"b": 199
},
"hsl": {
"h": 230.4,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.5237,
"c": 0.16411,
"h": 271.5
},
"luminance": 0.13585
}Semantic roles & 50–950 ramp
primary
#4A5EC7
secondary
#D1C99C
accent
#C54CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C15
muted
#7D7D83