#4A7ECD#4A7ECD
#4A7ECD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.134 H 258.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7ECD |
|---|---|
| RGB | rgb(74, 126, 205) |
| HSL | hsl(216, 57%, 55%) |
| HSV | hsv(216, 64%, 80%) |
| CMYK | cmyk(63.9%, 38.5%, 0%, 19.6%) |
| CIE-LAB | lab(52.71, 7.54, -46.08) |
| CIE-LCH | lch(52.71, 46.69, 279.29°) |
| OKLab | oklab(59.44% -0.0266 -0.131) |
| OKLCH | oklch(59.44% 0.134 258.5) |
| XYZ | xyz(21.3004, 20.7833, 60.6348) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.82
Cool Blue
#4984B8
ΔE00 4.32
Off Blue
#5684AE
ΔE00 4.54
Clear Blue
#247AFD
ΔE00 4.66
Steel Blue
#4682B4
ΔE00 4.67
Azure
#007FFF
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7ECD #CD994A
analogous
#4AC0CD #4A7ECD #574ACD
triadic
#4A7ECD #CD4A7E #7ECD4A
tetradic
#4A7ECD #CD4AC0 #CD994A #4ACD57
square
#4A7ECD #CD4AC0 #CD994A #4ACD57
split-complementary
#4A7ECD #CD574A #C0CD4A
monochromatic
#22457B #2F60AB #4A7ECD #7AA0DA #AAC2E7
Accessibility & contrast
On white
4.07
#4A7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#4A7ECD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7ECD
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7ECD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7ECD | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7ecd; /* rgb */ color: rgb(74, 126, 205); /* oklch */ color: oklch(59.4% 0.134 258.5);
Tailwind
colors: {
custom: {
50: '#89a2dc',
500: '#4a7ecd',
950: '#000000',
},
}SCSS
$custom: #4a7ecd; $custom-light: #89a2dc; $custom-dark: #000000;
JSON
{
"hex": "#4a7ecd",
"rgb": {
"r": 74,
"g": 126,
"b": 205
},
"hsl": {
"h": 216.183,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.59442,
"c": 0.13367,
"h": 258.5
},
"luminance": 0.20785
}Semantic roles & 50–950 ramp
primary
#4A7ECD
secondary
#D5BF9E
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83