#4878BC#4878BC
#4878BC is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.118 H 257.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4878BC |
|---|---|
| RGB | rgb(72, 120, 188) |
| HSL | hsl(215, 46%, 51%) |
| HSV | hsv(215, 62%, 74%) |
| CMYK | cmyk(61.7%, 36.2%, 0%, 26.3%) |
| CIE-LAB | lab(50.03, 4.98, -40.62) |
| CIE-LCH | lch(50.03, 40.93, 276.99°) |
| OKLab | oklab(57.04% -0.026 -0.1151) |
| OKLCH | oklch(57.04% 0.118 257.3) |
| XYZ | xyz(18.4628, 18.4398, 50.1535) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.35
Flat Blue
#3C73A8
ΔE00 3.92
Bluish
#2976BB
ΔE00 3.98
Medium Blue
#2C6FBB
ΔE00 4.09
Dull Blue
#49759C
ΔE00 4.66
Steel Blue
#4682B4
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4878BC #BC8C48
analogous
#48B2BC #4878BC #5248BC
triadic
#4878BC #BC4878 #78BC48
tetradic
#4878BC #BC48B2 #BC8C48 #48BC52
square
#4878BC #BC48B2 #BC8C48 #48BC52
split-complementary
#4878BC #BC5248 #B2BC48
monochromatic
#253F65 #355B92 #4878BC #7599CC #A2BADD
Accessibility & contrast
On white
4.48
#4878BC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#4878BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4878BC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4878BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4878BC | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4878bc; /* rgb */ color: rgb(72, 120, 188); /* oklch */ color: oklch(57.0% 0.118 257.3);
Tailwind
colors: {
custom: {
50: '#859ed0',
500: '#4878bc',
950: '#000000',
},
}SCSS
$custom: #4878bc; $custom-light: #859ed0; $custom-dark: #000000;
JSON
{
"hex": "#4878bc",
"rgb": {
"r": 72,
"g": 120,
"b": 188
},
"hsl": {
"h": 215.172,
"s": 46.4,
"l": 50.98
},
"oklch": {
"l": 0.57038,
"c": 0.11804,
"h": 257.3
},
"luminance": 0.18441
}Semantic roles & 50–950 ramp
primary
#4878BC
secondary
#CAB496
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82