#4A5ECD#4A5ECD
#4A5ECD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.172 H 271.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5ECD |
|---|---|
| RGB | rgb(74, 94, 205) |
| HSL | hsl(231, 57%, 55%) |
| HSV | hsv(231, 64%, 80%) |
| CMYK | cmyk(63.9%, 54.1%, 0%, 19.6%) |
| CIE-LAB | lab(44.04, 27.49, -59.97) |
| CIE-LCH | lch(44.04, 65.97, 294.62°) |
| OKLab | oklab(52.81% 0.0046 -0.1723) |
| OKLCH | oklch(52.81% 0.172 271.5) |
| XYZ | xyz(17.8425, 13.8675, 59.4822) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.06
Azul
#1D5DEC
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 4.77
Iris
#6258C4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5ECD #CDB94A
analogous
#4A9FCD #4A5ECD #784ACD
triadic
#4A5ECD #CD4A5E #5ECD4A
tetradic
#4A5ECD #CD4A9F #CDB94A #4ACD78
square
#4A5ECD #CD4A9F #CDB94A #4ACD78
split-complementary
#4A5ECD #CD784A #9FCD4A
monochromatic
#222F7B #2F42AB #4A5ECD #7A89DA #AAB3E7
Accessibility & contrast
On white
5.56
#4A5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#4A5ECD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5ECD
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5ECD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5ECD | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6ED1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5ecd; /* rgb */ color: rgb(74, 94, 205); /* oklch */ color: oklch(52.8% 0.172 271.5);
Tailwind
colors: {
custom: {
50: '#8a8bdd',
500: '#4a5ecd',
950: '#000000',
},
}SCSS
$custom: #4a5ecd; $custom-light: #8a8bdd; $custom-dark: #000000;
JSON
{
"hex": "#4a5ecd",
"rgb": {
"r": 74,
"g": 94,
"b": 205
},
"hsl": {
"h": 230.84,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.52812,
"c": 0.17232,
"h": 271.5
},
"luminance": 0.13869
}Semantic roles & 50–950 ramp
primary
#4A5ECD
secondary
#D5CD9E
accent
#C948E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83