#4E87E5#4E87E5
#4E87E5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.154 H 259.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4E87E5 |
|---|---|
| RGB | rgb(78, 135, 229) |
| HSL | hsl(217, 74%, 60%) |
| HSV | hsv(217, 66%, 90%) |
| CMYK | cmyk(65.9%, 41%, 0%, 10.2%) |
| CIE-LAB | lab(56.69, 11.04, -53.25) |
| CIE-LCH | lch(56.69, 54.38, 281.71°) |
| OKLab | oklab(62.99% -0.0271 -0.1518) |
| OKLCH | oklch(62.99% 0.154 259.9) |
| XYZ | xyz(25.9437, 24.6022, 77.4950) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.64
Dark Sky Blue
#448EE4
ΔE00 3.40
Soft Blue
#6488EA
ΔE00 3.64
Azure
#007FFF
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 4.66
Cornflowerblue
#6495ED
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E87E5 #E5AC4E
analogous
#4ED2E5 #4E87E5 #604EE5
triadic
#4E87E5 #E54E87 #87E54E
tetradic
#4E87E5 #E54ED2 #E5AC4E #4EE560
square
#4E87E5 #E54ED2 #E5AC4E #4EE560
split-complementary
#4E87E5 #E5604E #D2E54E
monochromatic
#184BA1 #1F64D6 #4E87E5 #83ABED #B9CFF5
Accessibility & contrast
On white
3.55
#4E87E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#4E87E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E87E5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E87E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E87E5 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#4482E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4e87e5; /* rgb */ color: rgb(78, 135, 229); /* oklch */ color: oklch(63.0% 0.154 259.9);
Tailwind
colors: {
custom: {
50: '#8ea9ee',
500: '#4e87e5',
950: '#000000',
},
}SCSS
$custom: #4e87e5; $custom-light: #8ea9ee; $custom-dark: #000000;
JSON
{
"hex": "#4e87e5",
"rgb": {
"r": 78,
"g": 135,
"b": 229
},
"hsl": {
"h": 217.351,
"s": 74.384,
"l": 60.196
},
"oklch": {
"l": 0.62993,
"c": 0.15424,
"h": 259.9
},
"luminance": 0.24605
}Semantic roles & 50–950 ramp
primary
#4E87E5
secondary
#E4CEAA
accent
#8B0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84