#4A87E1#4A87E1
#4A87E1 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.150 H 258.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87E1 |
|---|---|
| RGB | rgb(74, 135, 225) |
| HSL | hsl(216, 72%, 59%) |
| HSV | hsv(216, 67%, 88%) |
| CMYK | cmyk(67.1%, 40%, 0%, 11.8%) |
| CIE-LAB | lab(56.30, 9.01, -51.63) |
| CIE-LCH | lch(56.30, 52.41, 279.90°) |
| OKLab | oklab(62.58% -0.031 -0.1471) |
| OKLCH | oklch(62.58% 0.15 258.1) |
| XYZ | xyz(25.0737, 24.2175, 74.5726) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.87
Dodger Blue
#3E82FC
ΔE00 3.12
Azure
#007FFF
ΔE00 3.71
Soft Blue
#6488EA
ΔE00 4.48
Faded Blue
#658CBB
ΔE00 4.71
Dodgerblue
#1E90FF
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87E1 #E1A44A
analogous
#4AD2E1 #4A87E1 #584AE1
triadic
#4A87E1 #E14A87 #87E14A
tetradic
#4A87E1 #E14AD2 #E1A44A #4AE158
square
#4A87E1 #E14AD2 #E1A44A #4AE158
split-complementary
#4A87E1 #E1584A #D2E14A
monochromatic
#194C97 #2267CC #4A87E1 #7EAAEA #B3CDF2
Accessibility & contrast
On white
3.59
#4A87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#4A87E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87E1
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87E1 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4681DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4a87e1; /* rgb */ color: rgb(74, 135, 225); /* oklch */ color: oklch(62.6% 0.150 258.1);
Tailwind
colors: {
custom: {
50: '#8ca9eb',
500: '#4a87e1',
950: '#000000',
},
}SCSS
$custom: #4a87e1; $custom-light: #8ca9eb; $custom-dark: #000000;
JSON
{
"hex": "#4a87e1",
"rgb": {
"r": 74,
"g": 135,
"b": 225
},
"hsl": {
"h": 215.762,
"s": 71.564,
"l": 58.627
},
"oklch": {
"l": 0.62582,
"c": 0.15038,
"h": 258.1
},
"luminance": 0.2422
}Semantic roles & 50–950 ramp
primary
#4A87E1
secondary
#E1C9A6
accent
#A539EE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84