#4E87E2#4E87E2
#4E87E2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.150 H 259.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4E87E2 |
|---|---|
| RGB | rgb(78, 135, 226) |
| HSL | hsl(217, 72%, 60%) |
| HSV | hsv(217, 65%, 89%) |
| CMYK | cmyk(65.5%, 40.3%, 0%, 11.4%) |
| CIE-LAB | lab(56.52, 10.01, -51.83) |
| CIE-LCH | lch(56.52, 52.79, 280.93°) |
| OKLab | oklab(62.81% -0.0277 -0.1477) |
| OKLCH | oklch(62.81% 0.15 259.4) |
| XYZ | xyz(25.5284, 24.4361, 75.3080) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.89
Dark Sky Blue
#448EE4
ΔE00 3.27
Soft Blue
#6488EA
ΔE00 3.85
Azure
#007FFF
ΔE00 3.93
Faded Blue
#658CBB
ΔE00 4.60
Clear Blue
#247AFD
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E87E2 #E2A94E
analogous
#4ED1E2 #4E87E2 #5F4EE2
triadic
#4E87E2 #E24E87 #87E24E
tetradic
#4E87E2 #E24ED1 #E2A94E #4EE25F
square
#4E87E2 #E24ED1 #E2A94E #4EE25F
split-complementary
#4E87E2 #E25F4E #D1E24E
monochromatic
#1A4C9C #2265D1 #4E87E2 #83ABEB #B7CEF3
Accessibility & contrast
On white
3.57
#4E87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#4E87E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E87E2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E87E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E87E2 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#4781E0
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4e87e2; /* rgb */ color: rgb(78, 135, 226); /* oklch */ color: oklch(62.8% 0.150 259.4);
Tailwind
colors: {
custom: {
50: '#8ea9eb',
500: '#4e87e2',
950: '#000000',
},
}SCSS
$custom: #4e87e2; $custom-light: #8ea9eb; $custom-dark: #000000;
JSON
{
"hex": "#4e87e2",
"rgb": {
"r": 78,
"g": 135,
"b": 226
},
"hsl": {
"h": 216.892,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.62813,
"c": 0.15027,
"h": 259.4
},
"luminance": 0.24439
}Semantic roles & 50–950 ramp
primary
#4E87E2
secondary
#E3CCA9
accent
#A939EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84