#4E7BC4#4E7BC4
#4E7BC4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.123 H 259.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7BC4 |
|---|---|
| RGB | rgb(78, 123, 196) |
| HSL | hsl(217, 50%, 54%) |
| HSV | hsv(217, 60%, 77%) |
| CMYK | cmyk(60.2%, 37.2%, 0%, 23.1%) |
| CIE-LAB | lab(51.58, 7.04, -42.74) |
| CIE-LCH | lch(51.58, 43.31, 279.35°) |
| OKLab | oklab(58.46% -0.0221 -0.1212) |
| OKLCH | oklch(58.46% 0.123 259.6) |
| XYZ | xyz(20.1852, 19.7694, 54.9660) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.59
Off Blue
#5684AE
ΔE00 4.81
Cool Blue
#4984B8
ΔE00 4.99
Cornflower Blue
#5170D7
ΔE00 5.07
Steel Blue
#4682B4
ΔE00 5.13
Bluish
#2976BB
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7BC4 #C4974E
analogous
#4EB6C4 #4E7BC4 #5C4EC4
triadic
#4E7BC4 #C44E7B #7BC44E
tetradic
#4E7BC4 #C44EB6 #C4974E #4EC45C
square
#4E7BC4 #C44EB6 #C4974E #4EC45C
split-complementary
#4E7BC4 #C45C4E #B6C44E
monochromatic
#264372 #355EA0 #4E7BC4 #7C9DD3 #AABFE3
Accessibility & contrast
On white
4.24
#4E7BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#4E7BC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7BC4
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7BC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7BC4 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4C76C2
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4e7bc4; /* rgb */ color: rgb(78, 123, 196); /* oklch */ color: oklch(58.5% 0.123 259.6);
Tailwind
colors: {
custom: {
50: '#89a0d6',
500: '#4e7bc4',
950: '#000000',
},
}SCSS
$custom: #4e7bc4; $custom-light: #89a0d6; $custom-dark: #000000;
JSON
{
"hex": "#4e7bc4",
"rgb": {
"r": 78,
"g": 123,
"b": 196
},
"hsl": {
"h": 217.119,
"s": 50,
"l": 53.725
},
"oklch": {
"l": 0.58456,
"c": 0.12321,
"h": 259.6
},
"luminance": 0.19771
}Semantic roles & 50–950 ramp
primary
#4E7BC4
secondary
#D0BD9E
accent
#A44EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83