#4C87E5#4C87E5
#4C87E5 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.9% C 0.155 H 259.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4C87E5 |
|---|---|
| RGB | rgb(76, 135, 229) |
| HSL | hsl(217, 75%, 60%) |
| HSV | hsv(217, 67%, 90%) |
| CMYK | cmyk(66.8%, 41%, 0%, 10.2%) |
| CIE-LAB | lab(56.60, 10.72, -53.38) |
| CIE-LCH | lch(56.60, 54.45, 281.35°) |
| OKLab | oklab(62.91% -0.0287 -0.1523) |
| OKLCH | oklch(62.91% 0.155 259.3) |
| XYZ | xyz(25.7823, 24.5190, 77.4874) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.68
Dark Sky Blue
#448EE4
ΔE00 3.20
Azure
#007FFF
ΔE00 3.73
Soft Blue
#6488EA
ΔE00 3.92
Clear Blue
#247AFD
ΔE00 4.64
Cornflowerblue
#6495ED
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C87E5 #E5AA4C
analogous
#4CD3E5 #4C87E5 #5E4CE5
triadic
#4C87E5 #E54C87 #87E54C
tetradic
#4C87E5 #E54CD3 #E5AA4C #4CE55E
square
#4C87E5 #E54CD3 #E5AA4C #4CE55E
split-complementary
#4C87E5 #E55E4C #D3E54C
monochromatic
#174C9F #1F65D5 #4C87E5 #81ABED #B7CFF5
Accessibility & contrast
On white
3.56
#4C87E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#4C87E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C87E5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C87E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C87E5 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#4381E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4c87e5; /* rgb */ color: rgb(76, 135, 229); /* oklch */ color: oklch(62.9% 0.155 259.3);
Tailwind
colors: {
custom: {
50: '#8da9ee',
500: '#4c87e5',
950: '#000000',
},
}SCSS
$custom: #4c87e5; $custom-light: #8da9ee; $custom-dark: #000000;
JSON
{
"hex": "#4c87e5",
"rgb": {
"r": 76,
"g": 135,
"b": 229
},
"hsl": {
"h": 216.863,
"s": 74.634,
"l": 59.804
},
"oklch": {
"l": 0.62907,
"c": 0.15495,
"h": 259.3
},
"luminance": 0.24522
}Semantic roles & 50–950 ramp
primary
#4C87E5
secondary
#E4CDA9
accent
#A937F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84