#4E87E1#4E87E1
#4E87E1 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.149 H 259.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4E87E1 |
|---|---|
| RGB | rgb(78, 135, 225) |
| HSL | hsl(217, 71%, 59%) |
| HSV | hsv(217, 65%, 88%) |
| CMYK | cmyk(65.3%, 40%, 0%, 11.8%) |
| CIE-LAB | lab(56.47, 9.66, -51.36) |
| CIE-LCH | lch(56.47, 52.26, 280.65°) |
| OKLab | oklab(62.75% -0.0279 -0.1463) |
| OKLCH | oklch(62.75% 0.149 259.2) |
| XYZ | xyz(25.3916, 24.3814, 74.5875) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.97
Dark Sky Blue
#448EE4
ΔE00 3.24
Soft Blue
#6488EA
ΔE00 3.93
Azure
#007FFF
ΔE00 3.95
Faded Blue
#658CBB
ΔE00 4.54
Clear Blue
#247AFD
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E87E1 #E1A84E
analogous
#4ED0E1 #4E87E1 #5F4EE1
triadic
#4E87E1 #E14E87 #87E14E
tetradic
#4E87E1 #E14ED0 #E1A84E #4EE15F
square
#4E87E1 #E14ED0 #E1A84E #4EE15F
split-complementary
#4E87E1 #E15F4E #D0E14E
monochromatic
#1A4C9A #2366CF #4E87E1 #82AAEA #B7CEF3
Accessibility & contrast
On white
3.57
#4E87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#4E87E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E87E1
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E87E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E87E1 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4e87e1; /* rgb */ color: rgb(78, 135, 225); /* oklch */ color: oklch(62.8% 0.149 259.2);
Tailwind
colors: {
custom: {
50: '#8ea9eb',
500: '#4e87e1',
950: '#000000',
},
}SCSS
$custom: #4e87e1; $custom-light: #8ea9eb; $custom-dark: #000000;
JSON
{
"hex": "#4e87e1",
"rgb": {
"r": 78,
"g": 135,
"b": 225
},
"hsl": {
"h": 216.735,
"s": 71.014,
"l": 59.412
},
"oklch": {
"l": 0.62753,
"c": 0.14894,
"h": 259.2
},
"luminance": 0.24384
}Semantic roles & 50–950 ramp
primary
#4E87E1
secondary
#E2CCA9
accent
#A83AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84