#4A87E5#4A87E5
#4A87E5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.156 H 258.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87E5 |
|---|---|
| RGB | rgb(74, 135, 229) |
| HSL | hsl(216, 75%, 59%) |
| HSV | hsv(216, 68%, 90%) |
| CMYK | cmyk(67.7%, 41%, 0%, 10.2%) |
| CIE-LAB | lab(56.52, 10.41, -53.51) |
| CIE-LCH | lch(56.52, 54.52, 281.00°) |
| OKLab | oklab(62.82% -0.0302 -0.1527) |
| OKLCH | oklch(62.82% 0.156 258.8) |
| XYZ | xyz(25.6258, 24.4383, 77.4801) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.76
Dark Sky Blue
#448EE4
ΔE00 3.02
Azure
#007FFF
ΔE00 3.60
Soft Blue
#6488EA
ΔE00 4.19
Clear Blue
#247AFD
ΔE00 4.63
Dodgerblue
#1E90FF
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87E5 #E5A84A
analogous
#4AD5E5 #4A87E5 #5B4AE5
triadic
#4A87E5 #E54A87 #87E54A
tetradic
#4A87E5 #E54AD5 #E5A84A #4AE55B
square
#4A87E5 #E54AD5 #E5A84A #4AE55B
split-complementary
#4A87E5 #E55B4A #D5E54A
monochromatic
#174C9E #1E66D3 #4A87E5 #80AAED #B5CEF4
Accessibility & contrast
On white
3.57
#4A87E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#4A87E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87E5
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87E5 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4a87e5; /* rgb */ color: rgb(74, 135, 229); /* oklch */ color: oklch(62.8% 0.156 258.8);
Tailwind
colors: {
custom: {
50: '#8da9ee',
500: '#4a87e5',
950: '#000000',
},
}SCSS
$custom: #4a87e5; $custom-light: #8da9ee; $custom-dark: #000000;
JSON
{
"hex": "#4a87e5",
"rgb": {
"r": 74,
"g": 135,
"b": 229
},
"hsl": {
"h": 216.387,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.62823,
"c": 0.15563,
"h": 258.8
},
"luminance": 0.24441
}Semantic roles & 50–950 ramp
primary
#4A87E5
secondary
#E4CCA7
accent
#A836F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84