#4A7CC5#4A7CC5
#4A7CC5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.5% C 0.125 H 257.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CC5 |
|---|---|
| RGB | rgb(74, 124, 197) |
| HSL | hsl(216, 51%, 53%) |
| HSV | hsv(216, 62%, 77%) |
| CMYK | cmyk(62.4%, 37.1%, 0%, 22.7%) |
| CIE-LAB | lab(51.72, 6.00, -43.09) |
| CIE-LCH | lch(51.72, 43.50, 277.93°) |
| OKLab | oklab(58.54% -0.0264 -0.1223) |
| OKLCH | oklch(58.54% 0.125 257.8) |
| XYZ | xyz(20.1062, 19.9005, 55.5941) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.03
Cool Blue
#4984B8
ΔE00 4.33
Off Blue
#5684AE
ΔE00 4.47
Steel Blue
#4682B4
ΔE00 4.48
Bluish
#2976BB
ΔE00 4.84
Deep Sky Blue
#0D75F8
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CC5 #C5934A
analogous
#4AB9C5 #4A7CC5 #564AC5
triadic
#4A7CC5 #C54A7C #7CC54A
tetradic
#4A7CC5 #C54AB9 #C5934A #4AC556
square
#4A7CC5 #C54AB9 #C5934A #4AC556
split-complementary
#4A7CC5 #C5564A #B9C54A
monochromatic
#244371 #335F9F #4A7CC5 #789ED4 #A7BFE3
Accessibility & contrast
On white
4.22
#4A7CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#4A7CC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CC5
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CC5 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C82C8
Deuteranopia (green-blind)
#4C76C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4a7cc5; /* rgb */ color: rgb(74, 124, 197); /* oklch */ color: oklch(58.5% 0.125 257.8);
Tailwind
colors: {
custom: {
50: '#87a1d7',
500: '#4a7cc5',
950: '#000000',
},
}SCSS
$custom: #4a7cc5; $custom-light: #87a1d7; $custom-dark: #000000;
JSON
{
"hex": "#4a7cc5",
"rgb": {
"r": 74,
"g": 124,
"b": 197
},
"hsl": {
"h": 215.61,
"s": 51.464,
"l": 53.137
},
"oklch": {
"l": 0.58538,
"c": 0.12508,
"h": 257.8
},
"luminance": 0.19902
}Semantic roles & 50–950 ramp
primary
#4A7CC5
secondary
#D0BA9B
accent
#A14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83