#4A87DE#4A87DE
#4A87DE is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.4% C 0.146 H 257.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4A87DE |
|---|---|
| RGB | rgb(74, 135, 222) |
| HSL | hsl(215, 69%, 58%) |
| HSV | hsv(215, 67%, 87%) |
| CMYK | cmyk(66.7%, 39.2%, 0%, 12.9%) |
| CIE-LAB | lab(56.14, 7.97, -50.21) |
| CIE-LCH | lch(56.14, 50.84, 279.02°) |
| OKLab | oklab(62.4% -0.0317 -0.143) |
| OKLCH | oklch(62.4% 0.146 257.5) |
| XYZ | xyz(24.6681, 24.0552, 72.4362) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.80
Dodger Blue
#3E82FC
ΔE00 3.40
Azure
#007FFF
ΔE00 3.82
Faded Blue
#658CBB
ΔE00 4.58
Soft Blue
#6488EA
ΔE00 4.73
Dodgerblue
#1E90FF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A87DE #DEA14A
analogous
#4AD1DE #4A87DE #574ADE
triadic
#4A87DE #DE4A87 #87DE4A
tetradic
#4A87DE #DE4AD1 #DEA14A #4ADE57
square
#4A87DE #DE4AD1 #DEA14A #4ADE57
split-complementary
#4A87DE #DE574A #D1DE4A
monochromatic
#1B4C93 #2467C7 #4A87DE #7EA9E7 #B2CCF1
Accessibility & contrast
On white
3.61
#4A87DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#4A87DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A87DE
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A87DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A87DE | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4a87de; /* rgb */ color: rgb(74, 135, 222); /* oklch */ color: oklch(62.4% 0.146 257.5);
Tailwind
colors: {
custom: {
50: '#8ba9e9',
500: '#4a87de',
950: '#000000',
},
}SCSS
$custom: #4a87de; $custom-light: #8ba9e9; $custom-dark: #000000;
JSON
{
"hex": "#4a87de",
"rgb": {
"r": 74,
"g": 135,
"b": 222
},
"hsl": {
"h": 215.27,
"s": 69.159,
"l": 58.039
},
"oklch": {
"l": 0.62404,
"c": 0.14645,
"h": 257.5
},
"luminance": 0.24058
}Semantic roles & 50–950 ramp
primary
#4A87DE
secondary
#DFC7A4
accent
#A33CEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84