#4C87E1#4C87E1
#4C87E1 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.150 H 258.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4C87E1 |
|---|---|
| RGB | rgb(76, 135, 225) |
| HSL | hsl(216, 71%, 59%) |
| HSV | hsv(216, 66%, 88%) |
| CMYK | cmyk(66.2%, 40%, 0%, 11.8%) |
| CIE-LAB | lab(56.39, 9.33, -51.50) |
| CIE-LCH | lch(56.39, 52.34, 280.27°) |
| OKLab | oklab(62.67% -0.0295 -0.1467) |
| OKLCH | oklch(62.67% 0.15 258.6) |
| XYZ | xyz(25.2302, 24.2982, 74.5799) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.03
Dark Sky Blue
#448EE4
ΔE00 3.05
Azure
#007FFF
ΔE00 3.82
Soft Blue
#6488EA
ΔE00 4.21
Faded Blue
#658CBB
ΔE00 4.62
Clear Blue
#247AFD
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C87E1 #E1A64C
analogous
#4CD1E1 #4C87E1 #5C4CE1
triadic
#4C87E1 #E14C87 #87E14C
tetradic
#4C87E1 #E14CD1 #E1A64C #4CE15C
square
#4C87E1 #E14CD1 #E1A64C #4CE15C
split-complementary
#4C87E1 #E15C4C #D1E14C
monochromatic
#1A4C99 #2266CD #4C87E1 #80AAEA #B5CDF3
Accessibility & contrast
On white
3.58
#4C87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#4C87E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C87E1
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C87E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C87E1 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4781DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4c87e1; /* rgb */ color: rgb(76, 135, 225); /* oklch */ color: oklch(62.7% 0.150 258.6);
Tailwind
colors: {
custom: {
50: '#8da9eb',
500: '#4c87e1',
950: '#000000',
},
}SCSS
$custom: #4c87e1; $custom-light: #8da9eb; $custom-dark: #000000;
JSON
{
"hex": "#4c87e1",
"rgb": {
"r": 76,
"g": 135,
"b": 225
},
"hsl": {
"h": 216.242,
"s": 71.292,
"l": 59.02
},
"oklch": {
"l": 0.62667,
"c": 0.14967,
"h": 258.6
},
"luminance": 0.24301
}Semantic roles & 50–950 ramp
primary
#4C87E1
secondary
#E2CAA7
accent
#A73AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84