#4E78B4#4E78B4
#4E78B4 is a mid, moderate blue. Relative luminance 0.183; OKLCH L 56.9% C 0.105 H 257.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E78B4 |
|---|---|
| RGB | rgb(78, 120, 180) |
| HSL | hsl(215, 40%, 51%) |
| HSV | hsv(215, 57%, 71%) |
| CMYK | cmyk(56.7%, 33.3%, 0%, 29.4%) |
| CIE-LAB | lab(49.91, 3.52, -36.16) |
| CIE-LCH | lch(49.91, 36.33, 275.56°) |
| OKLab | oklab(56.9% -0.0229 -0.102) |
| OKLCH | oklch(56.9% 0.105 257.4) |
| XYZ | xyz(18.0937, 18.3464, 45.7589) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.17
Flat Blue
#3C73A8
ΔE00 3.95
Dull Blue
#49759C
ΔE00 4.29
Medium Blue
#2C6FBB
ΔE00 4.56
Bluish
#2976BB
ΔE00 4.59
French Blue
#436BAD
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E78B4 #B48A4E
analogous
#4EABB4 #4E78B4 #574EB4
triadic
#4E78B4 #B44E78 #78B44E
tetradic
#4E78B4 #B44EAB #B48A4E #4EB457
square
#4E78B4 #B44EAB #B48A4E #4EB457
split-complementary
#4E78B4 #B4574E #ABB44E
monochromatic
#283F5F #3B5B8A #4E78B4 #7999C6 #A4BAD8
Accessibility & contrast
On white
4.50
#4E78B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#4E78B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E78B4
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E78B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E78B4 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#5372B3
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4e78b4; /* rgb */ color: rgb(78, 120, 180); /* oklch */ color: oklch(56.9% 0.105 257.4);
Tailwind
colors: {
custom: {
50: '#879eca',
500: '#4e78b4',
950: '#000000',
},
}SCSS
$custom: #4e78b4; $custom-light: #879eca; $custom-dark: #000000;
JSON
{
"hex": "#4e78b4",
"rgb": {
"r": 78,
"g": 120,
"b": 180
},
"hsl": {
"h": 215.294,
"s": 40.476,
"l": 50.588
},
"oklch": {
"l": 0.56898,
"c": 0.10459,
"h": 257.4
},
"luminance": 0.18348
}Semantic roles & 50–950 ramp
primary
#4E78B4
secondary
#C6B398
accent
#9F57D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82