#4E7AC5#4E7AC5
#4E7AC5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.126 H 260.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7AC5 |
|---|---|
| RGB | rgb(78, 122, 197) |
| HSL | hsl(218, 51%, 54%) |
| HSV | hsv(218, 60%, 77%) |
| CMYK | cmyk(60.4%, 38.1%, 0%, 22.7%) |
| CIE-LAB | lab(51.35, 7.98, -43.67) |
| CIE-LCH | lch(51.35, 44.40, 280.36°) |
| OKLab | oklab(58.29% -0.0208 -0.1239) |
| OKLCH | oklch(58.29% 0.126 260.5) |
| XYZ | xyz(20.1759, 19.5682, 55.5263) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.73
Cornflower Blue
#5170D7
ΔE00 4.69
Off Blue
#5684AE
ΔE00 5.12
Deep Sky Blue
#0D75F8
ΔE00 5.35
Cool Blue
#4984B8
ΔE00 5.37
Steel Blue
#4682B4
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7AC5 #C5994E
analogous
#4EB6C5 #4E7AC5 #5E4EC5
triadic
#4E7AC5 #C54E7A #7AC54E
tetradic
#4E7AC5 #C54EB6 #C5994E #4EC55E
square
#4E7AC5 #C54EB6 #C5994E #4EC55E
split-complementary
#4E7AC5 #C55E4E #B6C54E
monochromatic
#264273 #355DA1 #4E7AC5 #7C9DD4 #AABFE3
Accessibility & contrast
On white
4.27
#4E7AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#4E7AC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7AC5
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7AC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7AC5 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4e7ac5; /* rgb */ color: rgb(78, 122, 197); /* oklch */ color: oklch(58.3% 0.126 260.5);
Tailwind
colors: {
custom: {
50: '#89a0d7',
500: '#4e7ac5',
950: '#000000',
},
}SCSS
$custom: #4e7ac5; $custom-light: #89a0d7; $custom-dark: #000000;
JSON
{
"hex": "#4e7ac5",
"rgb": {
"r": 78,
"g": 122,
"b": 197
},
"hsl": {
"h": 217.815,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.58294,
"c": 0.12569,
"h": 260.5
},
"luminance": 0.1957
}Semantic roles & 50–950 ramp
primary
#4E7AC5
secondary
#D1BE9E
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83