#4C7DC6#4C7DC6
#4C7DC6 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 58.9% C 0.125 H 258.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7DC6 |
|---|---|
| RGB | rgb(76, 125, 198) |
| HSL | hsl(216, 52%, 54%) |
| HSV | hsv(216, 62%, 78%) |
| CMYK | cmyk(61.6%, 36.9%, 0%, 22.4%) |
| CIE-LAB | lab(52.15, 6.11, -42.98) |
| CIE-LCH | lch(52.15, 43.41, 278.10°) |
| OKLab | oklab(58.91% -0.0255 -0.1219) |
| OKLCH | oklch(58.91% 0.125 258.2) |
| XYZ | xyz(20.5035, 20.2791, 56.2489) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.43
Cool Blue
#4984B8
ΔE00 4.27
Off Blue
#5684AE
ΔE00 4.35
Steel Blue
#4682B4
ΔE00 4.51
Dusty Blue
#5A86AD
ΔE00 5.05
Bluish
#2976BB
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7DC6 #C6954C
analogous
#4CBAC6 #4C7DC6 #584CC6
triadic
#4C7DC6 #C64C7D #7DC64C
tetradic
#4C7DC6 #C64CBA #C6954C #4CC658
square
#4C7DC6 #C64CBA #C6954C #4CC658
split-complementary
#4C7DC6 #C6584C #BAC64C
monochromatic
#254473 #3360A1 #4C7DC6 #7A9FD5 #A9C0E4
Accessibility & contrast
On white
4.15
#4C7DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#4C7DC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7DC6
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7DC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7DC6 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83C9
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4c7dc6; /* rgb */ color: rgb(76, 125, 198); /* oklch */ color: oklch(58.9% 0.125 258.2);
Tailwind
colors: {
custom: {
50: '#89a2d7',
500: '#4c7dc6',
950: '#000000',
},
}SCSS
$custom: #4c7dc6; $custom-light: #89a2d7; $custom-dark: #000000;
JSON
{
"hex": "#4c7dc6",
"rgb": {
"r": 76,
"g": 125,
"b": 198
},
"hsl": {
"h": 215.902,
"s": 51.695,
"l": 53.725
},
"oklch": {
"l": 0.58912,
"c": 0.12454,
"h": 258.2
},
"luminance": 0.20281
}Semantic roles & 50–950 ramp
primary
#4C7DC6
secondary
#D1BC9D
accent
#A24DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83