#4A7ECC#4A7ECC
#4A7ECC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.132 H 258.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7ECC |
|---|---|
| RGB | rgb(74, 126, 204) |
| HSL | hsl(216, 56%, 55%) |
| HSV | hsv(216, 64%, 80%) |
| CMYK | cmyk(63.7%, 38.2%, 0%, 20%) |
| CIE-LAB | lab(52.66, 7.19, -45.59) |
| CIE-LCH | lch(52.66, 46.16, 278.96°) |
| OKLab | oklab(59.38% -0.0268 -0.1296) |
| OKLCH | oklch(59.38% 0.132 258.3) |
| XYZ | xyz(21.1801, 20.7352, 60.0011) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.74
Cool Blue
#4984B8
ΔE00 4.24
Off Blue
#5684AE
ΔE00 4.47
Steel Blue
#4682B4
ΔE00 4.59
Clear Blue
#247AFD
ΔE00 4.74
Azure
#007FFF
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7ECC #CC984A
analogous
#4ABFCC #4A7ECC #574ACC
triadic
#4A7ECC #CC4A7E #7ECC4A
tetradic
#4A7ECC #CC4ABF #CC984A #4ACC57
square
#4A7ECC #CC4ABF #CC984A #4ACC57
split-complementary
#4A7ECC #CC574A #BFCC4A
monochromatic
#224579 #3060A9 #4A7ECC #7AA0D9 #A9C2E7
Accessibility & contrast
On white
4.08
#4A7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#4A7ECC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7ECC
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7ECC | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7ecc; /* rgb */ color: rgb(74, 126, 204); /* oklch */ color: oklch(59.4% 0.132 258.3);
Tailwind
colors: {
custom: {
50: '#89a3dc',
500: '#4a7ecc',
950: '#000000',
},
}SCSS
$custom: #4a7ecc; $custom-light: #89a3dc; $custom-dark: #000000;
JSON
{
"hex": "#4a7ecc",
"rgb": {
"r": 74,
"g": 126,
"b": 204
},
"hsl": {
"h": 216,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.59384,
"c": 0.13232,
"h": 258.3
},
"luminance": 0.20737
}Semantic roles & 50–950 ramp
primary
#4A7ECC
secondary
#D4BE9D
accent
#A348DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83