#4E78BA#4E78BA
#4E78BA is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.113 H 259.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4E78BA |
|---|---|
| RGB | rgb(78, 120, 186) |
| HSL | hsl(217, 44%, 52%) |
| HSV | hsv(217, 58%, 73%) |
| CMYK | cmyk(58.1%, 35.5%, 0%, 27.1%) |
| CIE-LAB | lab(50.21, 5.51, -39.16) |
| CIE-LCH | lch(50.21, 39.54, 278.01°) |
| OKLab | oklab(57.23% -0.0213 -0.1108) |
| OKLCH | oklch(57.23% 0.113 259.1) |
| XYZ | xyz(18.7182, 18.5962, 49.0479) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.36
Flat Blue
#3C73A8
ΔE00 4.50
Medium Blue
#2C6FBB
ΔE00 4.76
Dull Blue
#49759C
ΔE00 4.90
Bluish
#2976BB
ΔE00 4.94
French Blue
#436BAD
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E78BA #BA904E
analogous
#4EAEBA #4E78BA #5A4EBA
triadic
#4E78BA #BA4E78 #78BA4E
tetradic
#4E78BA #BA4EAE #BA904E #4EBA5A
square
#4E78BA #BA4EAE #BA904E #4EBA5A
split-complementary
#4E78BA #BA5A4E #AEBA4E
monochromatic
#284066 #395C92 #4E78BA #7A9ACB #A6BBDC
Accessibility & contrast
On white
4.45
#4E78BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#4E78BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E78BA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E78BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E78BA | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4e78ba; /* rgb */ color: rgb(78, 120, 186); /* oklch */ color: oklch(57.2% 0.113 259.1);
Tailwind
colors: {
custom: {
50: '#889ecf',
500: '#4e78ba',
950: '#000000',
},
}SCSS
$custom: #4e78ba; $custom-light: #889ecf; $custom-dark: #000000;
JSON
{
"hex": "#4e78ba",
"rgb": {
"r": 78,
"g": 120,
"b": 186
},
"hsl": {
"h": 216.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57227,
"c": 0.1128,
"h": 259.1
},
"luminance": 0.18598
}Semantic roles & 50–950 ramp
primary
#4E78BA
secondary
#CAB79A
accent
#A254D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82