#4E7EC2#4E7EC2
#4E7EC2 is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.0% C 0.117 H 257.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7EC2 |
|---|---|
| RGB | rgb(78, 126, 194) |
| HSL | hsl(215, 49%, 53%) |
| HSV | hsv(215, 60%, 76%) |
| CMYK | cmyk(59.8%, 35.1%, 0%, 23.9%) |
| CIE-LAB | lab(52.33, 4.55, -40.41) |
| CIE-LCH | lch(52.33, 40.67, 276.43°) |
| OKLab | oklab(59.01% -0.0259 -0.1144) |
| OKLCH | oklch(59.01% 0.117 257.2) |
| XYZ | xyz(20.3369, 20.4347, 53.9010) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.49
Cool Blue
#4984B8
ΔE00 3.88
Off Blue
#5684AE
ΔE00 3.93
Steel Blue
#4682B4
ΔE00 4.15
Dusty Blue
#5A86AD
ΔE00 4.65
Bluish
#2976BB
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7EC2 #C2924E
analogous
#4EB8C2 #4E7EC2 #584EC2
triadic
#4E7EC2 #C24E7E #7EC24E
tetradic
#4E7EC2 #C24EB8 #C2924E #4EC258
square
#4E7EC2 #C24EB8 #C2924E #4EC258
split-complementary
#4E7EC2 #C2584E #B8C24E
monochromatic
#26456F #36619D #4E7EC2 #7C9FD2 #A9C0E1
Accessibility & contrast
On white
4.13
#4E7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#4E7EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7EC2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7EC2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4e7ec2; /* rgb */ color: rgb(78, 126, 194); /* oklch */ color: oklch(59.0% 0.117 257.2);
Tailwind
colors: {
custom: {
50: '#89a3d5',
500: '#4e7ec2',
950: '#000000',
},
}SCSS
$custom: #4e7ec2; $custom-light: #89a3d5; $custom-dark: #000000;
JSON
{
"hex": "#4e7ec2",
"rgb": {
"r": 78,
"g": 126,
"b": 194
},
"hsl": {
"h": 215.172,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.59006,
"c": 0.11726,
"h": 257.2
},
"luminance": 0.20436
}Semantic roles & 50–950 ramp
primary
#4E7EC2
secondary
#CFBA9D
accent
#A050D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83