#4E87DB#4E87DB
#4E87DB is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.4% C 0.141 H 258.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4E87DB |
|---|---|
| RGB | rgb(78, 135, 219) |
| HSL | hsl(216, 66%, 58%) |
| HSV | hsv(216, 64%, 86%) |
| CMYK | cmyk(64.4%, 38.4%, 0%, 14.1%) |
| CIE-LAB | lab(56.15, 7.61, -48.51) |
| CIE-LCH | lch(56.15, 49.10, 278.91°) |
| OKLab | oklab(62.4% -0.0292 -0.1379) |
| OKLCH | oklch(62.4% 0.141 258) |
| XYZ | xyz(24.5875, 24.0597, 70.3523) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.09
Dodger Blue
#3E82FC
ΔE00 3.51
Azure
#007FFF
ΔE00 4.13
Faded Blue
#658CBB
ΔE00 4.25
Soft Blue
#6488EA
ΔE00 4.42
Cool Blue
#4984B8
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E87DB #DBA24E
analogous
#4ECDDB #4E87DB #5B4EDB
triadic
#4E87DB #DB4E87 #87DB4E
tetradic
#4E87DB #DB4ECD #DBA24E #4EDB5B
square
#4E87DB #DB4ECD #DBA24E #4EDB5B
split-complementary
#4E87DB #DB5B4E #CDDB4E
monochromatic
#1E4C91 #2867C4 #4E87DB #81A9E5 #B4CCF0
Accessibility & contrast
On white
3.61
#4E87DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#4E87DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E87DB
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E87DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E87DB | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#4D81D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4e87db; /* rgb */ color: rgb(78, 135, 219); /* oklch */ color: oklch(62.4% 0.141 258.0);
Tailwind
colors: {
custom: {
50: '#8da9e6',
500: '#4e87db',
950: '#000000',
},
}SCSS
$custom: #4e87db; $custom-light: #8da9e6; $custom-dark: #000000;
JSON
{
"hex": "#4e87db",
"rgb": {
"r": 78,
"g": 135,
"b": 219
},
"hsl": {
"h": 215.745,
"s": 66.197,
"l": 58.235
},
"oklch": {
"l": 0.62401,
"c": 0.14102,
"h": 258
},
"luminance": 0.24062
}Semantic roles & 50–950 ramp
primary
#4E87DB
secondary
#DEC8A6
accent
#A43FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84