#4A87E8#4A87E8
#4A87E8 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.160 H 259.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87E8 |
|---|---|
| RGB | rgb(74, 135, 232) |
| HSL | hsl(217, 77%, 60%) |
| HSV | hsv(217, 68%, 91%) |
| CMYK | cmyk(68.1%, 41.8%, 0%, 9%) |
| CIE-LAB | lab(56.69, 11.45, -54.92) |
| CIE-LCH | lch(56.69, 56.10, 281.78°) |
| OKLab | oklab(63.01% -0.0296 -0.1568) |
| OKLCH | oklch(63.01% 0.16 259.3) |
| XYZ | xyz(26.0483, 24.6073, 79.7052) |
| Luminance | 0.2461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.49
Dark Sky Blue
#448EE4
ΔE00 3.16
Azure
#007FFF
ΔE00 3.55
Soft Blue
#6488EA
ΔE00 3.98
Clear Blue
#247AFD
ΔE00 4.53
Dodgerblue
#1E90FF
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87E8 #E8AB4A
analogous
#4AD6E8 #4A87E8 #5C4AE8
triadic
#4A87E8 #E84A87 #87E84A
tetradic
#4A87E8 #E84AD6 #E8AB4A #4AE85C
square
#4A87E8 #E84AD6 #E8AB4A #4AE85C
split-complementary
#4A87E8 #E85C4A #D6E84A
monochromatic
#154CA3 #1C65D9 #4A87E8 #80ABEF #B7CFF6
Accessibility & contrast
On white
3.55
#4A87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#4A87E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87E8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87E8 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4a87e8; /* rgb */ color: rgb(74, 135, 232); /* oklch */ color: oklch(63.0% 0.160 259.3);
Tailwind
colors: {
custom: {
50: '#8da9f0',
500: '#4a87e8',
950: '#000000',
},
}SCSS
$custom: #4a87e8; $custom-light: #8da9f0; $custom-dark: #000000;
JSON
{
"hex": "#4a87e8",
"rgb": {
"r": 74,
"g": 135,
"b": 232
},
"hsl": {
"h": 216.835,
"s": 77.451,
"l": 60
},
"oklch": {
"l": 0.63006,
"c": 0.15958,
"h": 259.3
},
"luminance": 0.2461
}Semantic roles & 50–950 ramp
primary
#4A87E8
secondary
#E5CEA8
accent
#AA34F4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84