#4A5EC5#4A5EC5
#4A5EC5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.161 H 271.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5EC5 |
|---|---|
| RGB | rgb(74, 94, 197) |
| HSL | hsl(230, 51%, 53%) |
| HSV | hsv(230, 62%, 77%) |
| CMYK | cmyk(62.4%, 52.3%, 0%, 22.7%) |
| CIE-LAB | lab(43.49, 24.73, -56.25) |
| CIE-LCH | lch(43.49, 61.44, 293.73°) |
| OKLab | oklab(52.23% 0.0041 -0.1613) |
| OKLCH | oklch(52.23% 0.161 271.5) |
| XYZ | xyz(16.9014, 13.4910, 54.5259) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.90
Iris
#6258C4
ΔE00 5.16
Azul
#1D5DEC
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 5.24
Royal Blue
#4169E1
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5EC5 #C5B14A
analogous
#4A9BC5 #4A5EC5 #734AC5
triadic
#4A5EC5 #C54A5E #5EC54A
tetradic
#4A5EC5 #C54A9B #C5B14A #4AC573
square
#4A5EC5 #C54A9B #C5B14A #4AC573
split-complementary
#4A5EC5 #C5734A #9BC54A
monochromatic
#243071 #33449F #4A5EC5 #7887D4 #A7B0E3
Accessibility & contrast
On white
5.68
#4A5EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#4A5EC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5EC5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5EC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5EC5 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4a5ec5; /* rgb */ color: rgb(74, 94, 197); /* oklch */ color: oklch(52.2% 0.161 271.5);
Tailwind
colors: {
custom: {
50: '#888bd7',
500: '#4a5ec5',
950: '#000000',
},
}SCSS
$custom: #4a5ec5; $custom-light: #888bd7; $custom-dark: #000000;
JSON
{
"hex": "#4a5ec5",
"rgb": {
"r": 74,
"g": 94,
"b": 197
},
"hsl": {
"h": 230.244,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.52225,
"c": 0.16134,
"h": 271.5
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#4A5EC5
secondary
#D0C79B
accent
#C44DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83