#4A87E7#4A87E7
#4A87E7 is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.9% C 0.158 H 259.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87E7 |
|---|---|
| RGB | rgb(74, 135, 231) |
| HSL | hsl(217, 77%, 60%) |
| HSV | hsv(217, 68%, 91%) |
| CMYK | cmyk(68%, 41.6%, 0%, 9.4%) |
| CIE-LAB | lab(56.63, 11.10, -54.45) |
| CIE-LCH | lch(56.63, 55.57, 281.53°) |
| OKLab | oklab(62.94% -0.0298 -0.1554) |
| OKLCH | oklch(62.94% 0.158 259.2) |
| XYZ | xyz(25.9066, 24.5507, 78.9593) |
| Luminance | 0.2455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.58
Dark Sky Blue
#448EE4
ΔE00 3.11
Azure
#007FFF
ΔE00 3.56
Soft Blue
#6488EA
ΔE00 4.05
Clear Blue
#247AFD
ΔE00 4.56
Dodgerblue
#1E90FF
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87E7 #E7AA4A
analogous
#4AD5E7 #4A87E7 #5C4AE7
triadic
#4A87E7 #E74A87 #87E74A
tetradic
#4A87E7 #E74AD5 #E7AA4A #4AE75C
square
#4A87E7 #E74AD5 #E7AA4A #4AE75C
split-complementary
#4A87E7 #E75C4A #D5E74A
monochromatic
#154CA1 #1D65D7 #4A87E7 #80ABEE #B6CFF5
Accessibility & contrast
On white
3.55
#4A87E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#4A87E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87E7
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87E7 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4a87e7; /* rgb */ color: rgb(74, 135, 231); /* oklch */ color: oklch(62.9% 0.158 259.2);
Tailwind
colors: {
custom: {
50: '#8da9ef',
500: '#4a87e7',
950: '#000000',
},
}SCSS
$custom: #4a87e7; $custom-light: #8da9ef; $custom-dark: #000000;
JSON
{
"hex": "#4a87e7",
"rgb": {
"r": 74,
"g": 135,
"b": 231
},
"hsl": {
"h": 216.688,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.62945,
"c": 0.15827,
"h": 259.2
},
"luminance": 0.24553
}Semantic roles & 50–950 ramp
primary
#4A87E7
secondary
#E5CDA8
accent
#A935F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84