#4878C7#4878C7
#4878C7 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.133 H 259.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4878C7 |
|---|---|
| RGB | rgb(72, 120, 199) |
| HSL | hsl(217, 53%, 53%) |
| HSV | hsv(217, 64%, 78%) |
| CMYK | cmyk(63.8%, 39.7%, 0%, 22%) |
| CIE-LAB | lab(50.61, 8.77, -46.01) |
| CIE-LCH | lch(50.61, 46.83, 280.79°) |
| OKLab | oklab(57.68% -0.0234 -0.1309) |
| OKLCH | oklch(57.68% 0.133 259.9) |
| XYZ | xyz(19.6941, 18.9323, 56.6382) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.15
Cornflower Blue
#5170D7
ΔE00 4.57
Medium Blue
#2C6FBB
ΔE00 4.77
Deep Sky Blue
#0D75F8
ΔE00 4.89
Bluish
#2976BB
ΔE00 4.90
Flat Blue
#3C73A8
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4878C7 #C79748
analogous
#48B7C7 #4878C7 #5748C7
triadic
#4878C7 #C74878 #78C748
tetradic
#4878C7 #C748B7 #C79748 #48C757
square
#4878C7 #C748B7 #C79748 #48C757
split-complementary
#4878C7 #C75748 #B7C748
monochromatic
#234172 #315BA1 #4878C7 #779BD5 #A6BDE4
Accessibility & contrast
On white
4.39
#4878C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#4878C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4878C7
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4878C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4878C7 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4878c7; /* rgb */ color: rgb(72, 120, 199); /* oklch */ color: oklch(57.7% 0.133 259.9);
Tailwind
colors: {
custom: {
50: '#879ed8',
500: '#4878c7',
950: '#000000',
},
}SCSS
$custom: #4878c7; $custom-light: #879ed8; $custom-dark: #000000;
JSON
{
"hex": "#4878c7",
"rgb": {
"r": 72,
"g": 120,
"b": 199
},
"hsl": {
"h": 217.323,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.5768,
"c": 0.13298,
"h": 259.9
},
"luminance": 0.18934
}Semantic roles & 50–950 ramp
primary
#4878C7
secondary
#D1BC9A
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83