#4E79BA#4E79BA
#4E79BA is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.5% C 0.112 H 258.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E79BA |
|---|---|
| RGB | rgb(78, 121, 186) |
| HSL | hsl(216, 44%, 52%) |
| HSV | hsv(216, 58%, 73%) |
| CMYK | cmyk(58.1%, 34.9%, 0%, 27.1%) |
| CIE-LAB | lab(50.50, 4.90, -38.71) |
| CIE-LCH | lch(50.50, 39.02, 277.22°) |
| OKLab | oklab(57.45% -0.0224 -0.1094) |
| OKLCH | oklch(57.45% 0.112 258.4) |
| XYZ | xyz(18.8391, 18.8380, 49.0882) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.19
Flat Blue
#3C73A8
ΔE00 4.53
Bluish
#2976BB
ΔE00 4.82
Medium Blue
#2C6FBB
ΔE00 4.89
Dull Blue
#49759C
ΔE00 4.91
Off Blue
#5684AE
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E79BA #BA8F4E
analogous
#4EAFBA #4E79BA #594EBA
triadic
#4E79BA #BA4E79 #79BA4E
tetradic
#4E79BA #BA4EAF #BA8F4E #4EBA59
square
#4E79BA #BA4EAF #BA8F4E #4EBA59
split-complementary
#4E79BA #BA594E #AFBA4E
monochromatic
#284066 #395C92 #4E79BA #7A9ACB #A6BCDC
Accessibility & contrast
On white
4.40
#4E79BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#4E79BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E79BA
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E79BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E79BA | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4e79ba; /* rgb */ color: rgb(78, 121, 186); /* oklch */ color: oklch(57.5% 0.112 258.4);
Tailwind
colors: {
custom: {
50: '#889fcf',
500: '#4e79ba',
950: '#000000',
},
}SCSS
$custom: #4e79ba; $custom-light: #889fcf; $custom-dark: #000000;
JSON
{
"hex": "#4e79ba",
"rgb": {
"r": 78,
"g": 121,
"b": 186
},
"hsl": {
"h": 216.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.5745,
"c": 0.11172,
"h": 258.4
},
"luminance": 0.1884
}Semantic roles & 50–950 ramp
primary
#4E79BA
secondary
#CAB79A
accent
#A154D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82