#4A87E3#4A87E3
#4A87E3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.7% C 0.153 H 258.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87E3 |
|---|---|
| RGB | rgb(74, 135, 227) |
| HSL | hsl(216, 73%, 59%) |
| HSV | hsv(216, 67%, 89%) |
| CMYK | cmyk(67.4%, 40.5%, 0%, 11%) |
| CIE-LAB | lab(56.41, 9.71, -52.57) |
| CIE-LCH | lch(56.41, 53.46, 280.46°) |
| OKLab | oklab(62.7% -0.0306 -0.1499) |
| OKLCH | oklch(62.7% 0.153 258.5) |
| XYZ | xyz(25.3481, 24.3273, 76.0179) |
| Luminance | 0.2433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.94
Dark Sky Blue
#448EE4
ΔE00 2.94
Azure
#007FFF
ΔE00 3.65
Soft Blue
#6488EA
ΔE00 4.33
Clear Blue
#247AFD
ΔE00 4.71
Dodgerblue
#1E90FF
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87E3 #E3A64A
analogous
#4AD4E3 #4A87E3 #5A4AE3
triadic
#4A87E3 #E34A87 #87E34A
tetradic
#4A87E3 #E34AD4 #E3A64A #4AE35A
square
#4A87E3 #E34AD4 #E3A64A #4AE35A
split-complementary
#4A87E3 #E35A4A #D4E34A
monochromatic
#184C9B #2066D0 #4A87E3 #7FAAEB #B4CDF3
Accessibility & contrast
On white
3.58
#4A87E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#4A87E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87E3
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87E3 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#4481E1
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4a87e3; /* rgb */ color: rgb(74, 135, 227); /* oklch */ color: oklch(62.7% 0.153 258.5);
Tailwind
colors: {
custom: {
50: '#8ca9ec',
500: '#4a87e3',
950: '#000000',
},
}SCSS
$custom: #4a87e3; $custom-light: #8ca9ec; $custom-dark: #000000;
JSON
{
"hex": "#4a87e3",
"rgb": {
"r": 74,
"g": 135,
"b": 227
},
"hsl": {
"h": 216.078,
"s": 73.206,
"l": 59.02
},
"oklch": {
"l": 0.62702,
"c": 0.15301,
"h": 258.5
},
"luminance": 0.2433
}Semantic roles & 50–950 ramp
primary
#4A87E3
secondary
#E2CAA6
accent
#A738F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84