#4C7CCC#4C7CCC
#4C7CCC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.134 H 260.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7CCC |
|---|---|
| RGB | rgb(76, 124, 204) |
| HSL | hsl(218, 56%, 55%) |
| HSV | hsv(218, 63%, 80%) |
| CMYK | cmyk(62.7%, 39.2%, 0%, 20%) |
| CIE-LAB | lab(52.19, 8.77, -46.34) |
| CIE-LCH | lch(52.19, 47.16, 280.72°) |
| OKLab | oklab(59.04% -0.0231 -0.1318) |
| OKLCH | oklch(59.04% 0.134 260.1) |
| XYZ | xyz(21.0834, 20.3095, 59.9241) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.90
Clear Blue
#247AFD
ΔE00 4.81
Deep Sky Blue
#0D75F8
ΔE00 4.81
Off Blue
#5684AE
ΔE00 4.92
Cool Blue
#4984B8
ΔE00 4.97
Lightish Blue
#3D7AFD
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7CCC #CC9C4C
analogous
#4CBCCC #4C7CCC #5C4CCC
triadic
#4C7CCC #CC4C7C #7CCC4C
tetradic
#4C7CCC #CC4CBC #CC9C4C #4CCC5C
square
#4C7CCC #CC4CBC #CC9C4C #4CCC5C
split-complementary
#4C7CCC #CC5C4C #BCCC4C
monochromatic
#23447B #315EAA #4C7CCC #7C9FDA #ABC2E7
Accessibility & contrast
On white
4.15
#4C7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#4C7CCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7CCC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7CCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7CCC | 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)
#5983CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4c7ccc; /* rgb */ color: rgb(76, 124, 204); /* oklch */ color: oklch(59.0% 0.134 260.1);
Tailwind
colors: {
custom: {
50: '#89a1dc',
500: '#4c7ccc',
950: '#000000',
},
}SCSS
$custom: #4c7ccc; $custom-light: #89a1dc; $custom-dark: #000000;
JSON
{
"hex": "#4c7ccc",
"rgb": {
"r": 76,
"g": 124,
"b": 204
},
"hsl": {
"h": 217.5,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.59041,
"c": 0.13376,
"h": 260.1
},
"luminance": 0.20311
}Semantic roles & 50–950 ramp
primary
#4C7CCC
secondary
#D5C19F
accent
#A749DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83