#4E7BC5#4E7BC5
#4E7BC5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.125 H 259.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7BC5 |
|---|---|
| RGB | rgb(78, 123, 197) |
| HSL | hsl(217, 51%, 54%) |
| HSV | hsv(217, 60%, 77%) |
| CMYK | cmyk(60.4%, 37.6%, 0%, 22.7%) |
| CIE-LAB | lab(51.63, 7.37, -43.23) |
| CIE-LCH | lch(51.63, 43.85, 279.68°) |
| OKLab | oklab(58.51% -0.0219 -0.1226) |
| OKLCH | oklch(58.51% 0.125 259.9) |
| XYZ | xyz(20.2994, 19.8150, 55.5674) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.66
Off Blue
#5684AE
ΔE00 4.86
Cornflower Blue
#5170D7
ΔE00 5.01
Cool Blue
#4984B8
ΔE00 5.05
Steel Blue
#4682B4
ΔE00 5.20
Deep Sky Blue
#0D75F8
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7BC5 #C5984E
analogous
#4EB7C5 #4E7BC5 #5D4EC5
triadic
#4E7BC5 #C54E7B #7BC54E
tetradic
#4E7BC5 #C54EB7 #C5984E #4EC55D
square
#4E7BC5 #C54EB7 #C5984E #4EC55D
split-complementary
#4E7BC5 #C55D4E #B7C54E
monochromatic
#264373 #355EA1 #4E7BC5 #7C9DD4 #AAC0E3
Accessibility & contrast
On white
4.23
#4E7BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#4E7BC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7BC5
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7BC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7BC5 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4B76C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4e7bc5; /* rgb */ color: rgb(78, 123, 197); /* oklch */ color: oklch(58.5% 0.125 259.9);
Tailwind
colors: {
custom: {
50: '#89a0d7',
500: '#4e7bc5',
950: '#000000',
},
}SCSS
$custom: #4e7bc5; $custom-light: #89a0d7; $custom-dark: #000000;
JSON
{
"hex": "#4e7bc5",
"rgb": {
"r": 78,
"g": 123,
"b": 197
},
"hsl": {
"h": 217.311,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.58513,
"c": 0.12457,
"h": 259.9
},
"luminance": 0.19817
}Semantic roles & 50–950 ramp
primary
#4E7BC5
secondary
#D1BE9E
accent
#A54EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83