#4878BF#4878BF
#4878BF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.2% C 0.122 H 258.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4878BF |
|---|---|
| RGB | rgb(72, 120, 191) |
| HSL | hsl(216, 48%, 52%) |
| HSV | hsv(216, 62%, 75%) |
| CMYK | cmyk(62.3%, 37.2%, 0%, 25.1%) |
| CIE-LAB | lab(50.18, 6.01, -42.10) |
| CIE-LCH | lch(50.18, 42.53, 278.12°) |
| OKLab | oklab(57.21% -0.0253 -0.1195) |
| OKLCH | oklch(57.21% 0.122 258.1) |
| XYZ | xyz(18.7896, 18.5705, 51.8744) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.53
Bluish
#2976BB
ΔE00 4.22
Flat Blue
#3C73A8
ΔE00 4.23
Medium Blue
#2C6FBB
ΔE00 4.25
Dull Blue
#49759C
ΔE00 4.94
Steel Blue
#4682B4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4878BF #BF8F48
analogous
#48B4BF #4878BF #5448BF
triadic
#4878BF #BF4878 #78BF48
tetradic
#4878BF #BF48B4 #BF8F48 #48BF54
square
#4878BF #BF48B4 #BF8F48 #48BF54
split-complementary
#4878BF #BF5448 #B4BF48
monochromatic
#244068 #345C96 #4878BF #7599CF #A3BBDF
Accessibility & contrast
On white
4.45
#4878BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#4878BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4878BF
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4878BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4878BF | 1.00 | 4.45 | 4.71 | 4.71 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4878bf; /* rgb */ color: rgb(72, 120, 191); /* oklch */ color: oklch(57.2% 0.122 258.1);
Tailwind
colors: {
custom: {
50: '#869ed2',
500: '#4878bf',
950: '#000000',
},
}SCSS
$custom: #4878bf; $custom-light: #869ed2; $custom-dark: #000000;
JSON
{
"hex": "#4878bf",
"rgb": {
"r": 72,
"g": 120,
"b": 191
},
"hsl": {
"h": 215.798,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.5721,
"c": 0.1221,
"h": 258.1
},
"luminance": 0.18572
}Semantic roles & 50–950 ramp
primary
#4878BF
secondary
#CCB697
accent
#A150D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82