#4E7FC5#4E7FC5
#4E7FC5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.120 H 257.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7FC5 |
|---|---|
| RGB | rgb(78, 127, 197) |
| HSL | hsl(215, 51%, 54%) |
| HSV | hsv(215, 60%, 77%) |
| CMYK | cmyk(60.4%, 35.5%, 0%, 22.7%) |
| CIE-LAB | lab(52.76, 4.95, -41.44) |
| CIE-LCH | lch(52.76, 41.73, 276.82°) |
| OKLab | oklab(59.39% -0.0262 -0.1173) |
| OKLCH | oklch(59.39% 0.12 257.4) |
| XYZ | xyz(20.8057, 20.8278, 55.7362) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.78
Cool Blue
#4984B8
ΔE00 3.81
Off Blue
#5684AE
ΔE00 3.92
Steel Blue
#4682B4
ΔE00 4.18
Dusty Blue
#5A86AD
ΔE00 4.59
Faded Blue
#658CBB
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7FC5 #C5944E
analogous
#4EBBC5 #4E7FC5 #594EC5
triadic
#4E7FC5 #C54E7F #7FC54E
tetradic
#4E7FC5 #C54EBB #C5944E #4EC559
square
#4E7FC5 #C54EBB #C5944E #4EC559
split-complementary
#4E7FC5 #C5594E #BBC54E
monochromatic
#264573 #3561A1 #4E7FC5 #7CA0D4 #AAC2E3
Accessibility & contrast
On white
4.07
#4E7FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#4E7FC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7FC5
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7FC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7FC5 | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6184C8
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4e7fc5; /* rgb */ color: rgb(78, 127, 197); /* oklch */ color: oklch(59.4% 0.120 257.4);
Tailwind
colors: {
custom: {
50: '#89a3d7',
500: '#4e7fc5',
950: '#000000',
},
}SCSS
$custom: #4e7fc5; $custom-light: #89a3d7; $custom-dark: #000000;
JSON
{
"hex": "#4e7fc5",
"rgb": {
"r": 78,
"g": 127,
"b": 197
},
"hsl": {
"h": 215.294,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.59394,
"c": 0.12024,
"h": 257.4
},
"luminance": 0.2083
}Semantic roles & 50–950 ramp
primary
#4E7FC5
secondary
#D1BC9E
accent
#A04EDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83