#4C7AC7#4C7AC7
#4C7AC7 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.129 H 260.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7AC7 |
|---|---|
| RGB | rgb(76, 122, 199) |
| HSL | hsl(218, 52%, 54%) |
| HSV | hsv(218, 62%, 78%) |
| CMYK | cmyk(61.8%, 38.7%, 0%, 22%) |
| CIE-LAB | lab(51.36, 8.28, -44.81) |
| CIE-LCH | lch(51.36, 45.56, 280.47°) |
| OKLab | oklab(58.31% -0.0221 -0.1273) |
| OKLCH | oklch(58.31% 0.129 260.1) |
| XYZ | xyz(20.2452, 19.5773, 56.7336) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.56
Cornflower Blue
#5170D7
ΔE00 4.76
Deep Sky Blue
#0D75F8
ΔE00 5.08
Off Blue
#5684AE
ΔE00 5.13
Cool Blue
#4984B8
ΔE00 5.28
Bluish
#2976BB
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7AC7 #C7994C
analogous
#4CB8C7 #4C7AC7 #5C4CC7
triadic
#4C7AC7 #C74C7A #7AC74C
tetradic
#4C7AC7 #C74CB8 #C7994C #4CC75C
square
#4C7AC7 #C74CB8 #C7994C #4CC75C
split-complementary
#4C7AC7 #C75C4C #B8C74C
monochromatic
#244274 #335DA3 #4C7AC7 #7B9DD6 #A9BFE4
Accessibility & contrast
On white
4.27
#4C7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#4C7AC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7AC7
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7AC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7AC7 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4c7ac7; /* rgb */ color: rgb(76, 122, 199); /* oklch */ color: oklch(58.3% 0.129 260.1);
Tailwind
colors: {
custom: {
50: '#89a0d8',
500: '#4c7ac7',
950: '#000000',
},
}SCSS
$custom: #4c7ac7; $custom-light: #89a0d8; $custom-dark: #000000;
JSON
{
"hex": "#4c7ac7",
"rgb": {
"r": 76,
"g": 122,
"b": 199
},
"hsl": {
"h": 217.561,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.58311,
"c": 0.12921,
"h": 260.1
},
"luminance": 0.19579
}Semantic roles & 50–950 ramp
primary
#4C7AC7
secondary
#D2BE9D
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83