#4C78BF#4C78BF
#4C78BF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.4% C 0.120 H 259.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4C78BF |
|---|---|
| RGB | rgb(76, 120, 191) |
| HSL | hsl(217, 47%, 52%) |
| HSV | hsv(217, 60%, 75%) |
| CMYK | cmyk(60.2%, 37.2%, 0%, 25.1%) |
| CIE-LAB | lab(50.37, 6.78, -41.79) |
| CIE-LCH | lch(50.37, 42.34, 279.21°) |
| OKLab | oklab(57.41% -0.0218 -0.1185) |
| OKLCH | oklch(57.41% 0.12 259.6) |
| XYZ | xyz(19.0976, 18.7294, 51.8888) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.24
Flat Blue
#3C73A8
ΔE00 4.70
Medium Blue
#2C6FBB
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 4.75
Bluish
#2976BB
ΔE00 4.91
French Blue
#436BAD
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C78BF #BF934C
analogous
#4CB2BF #4C78BF #594CBF
triadic
#4C78BF #BF4C78 #78BF4C
tetradic
#4C78BF #BF4CB2 #BF934C #4CBF59
square
#4C78BF #BF4CB2 #BF934C #4CBF59
split-complementary
#4C78BF #BF594C #B2BF4C
monochromatic
#26406B #365B98 #4C78BF #799ACF #A6BCDF
Accessibility & contrast
On white
4.42
#4C78BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#4C78BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C78BF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C78BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C78BF | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4c78bf; /* rgb */ color: rgb(76, 120, 191); /* oklch */ color: oklch(57.4% 0.120 259.6);
Tailwind
colors: {
custom: {
50: '#889ed2',
500: '#4c78bf',
950: '#000000',
},
}SCSS
$custom: #4c78bf; $custom-light: #889ed2; $custom-dark: #000000;
JSON
{
"hex": "#4c78bf",
"rgb": {
"r": 76,
"g": 120,
"b": 191
},
"hsl": {
"h": 217.043,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.57407,
"c": 0.12048,
"h": 259.6
},
"luminance": 0.18731
}Semantic roles & 50–950 ramp
primary
#4C78BF
secondary
#CCB99A
accent
#A451D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82