#4F78B2#4F78B2
#4F78B2 is a mid, moderate blue. Relative luminance 0.183; OKLCH L 56.8% C 0.101 H 257.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4F78B2 |
|---|---|
| RGB | rgb(79, 120, 178) |
| HSL | hsl(215, 39%, 50%) |
| HSV | hsv(215, 56%, 70%) |
| CMYK | cmyk(55.6%, 32.6%, 0%, 30.2%) |
| CIE-LAB | lab(49.87, 3.08, -35.08) |
| CIE-LCH | lch(49.87, 35.21, 275.02°) |
| OKLab | oklab(56.84% -0.0225 -0.0989) |
| OKLCH | oklch(56.84% 0.101 257.2) |
| XYZ | xyz(17.9740, 18.3081, 44.6975) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.33
Flat Blue
#3C73A8
ΔE00 3.93
Dull Blue
#49759C
ΔE00 4.17
Medium Blue
#2C6FBB
ΔE00 4.66
Bluish
#2976BB
ΔE00 4.69
French Blue
#436BAD
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F78B2 #B2894F
analogous
#4FA9B2 #4F78B2 #584FB2
triadic
#4F78B2 #B24F78 #78B24F
tetradic
#4F78B2 #B24FA9 #B2894F #4FB258
square
#4F78B2 #B24FA9 #B2894F #4FB258
split-complementary
#4F78B2 #B2584F #A9B24F
monochromatic
#293F5E #3C5B88 #4F78B2 #7A99C5 #A4B9D7
Accessibility & contrast
On white
4.50
#4F78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#4F78B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F78B2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F78B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F78B2 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#0D858D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4f78b2; /* rgb */ color: rgb(79, 120, 178); /* oklch */ color: oklch(56.8% 0.101 257.2);
Tailwind
colors: {
custom: {
50: '#879ec9',
500: '#4f78b2',
950: '#000000',
},
}SCSS
$custom: #4f78b2; $custom-light: #879ec9; $custom-dark: #000000;
JSON
{
"hex": "#4f78b2",
"rgb": {
"r": 79,
"g": 120,
"b": 178
},
"hsl": {
"h": 215.152,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.56844,
"c": 0.10141,
"h": 257.2
},
"luminance": 0.1831
}Semantic roles & 50–950 ramp
primary
#4F78B2
secondary
#C4B298
accent
#9E59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82