#4F87D8#4F87D8
#4F87D8 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.137 H 257.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4F87D8 |
|---|---|
| RGB | rgb(79, 135, 216) |
| HSL | hsl(215, 64%, 58%) |
| HSV | hsv(215, 63%, 85%) |
| CMYK | cmyk(63.4%, 37.5%, 0%, 15.3%) |
| CIE-LAB | lab(56.03, 6.76, -47.01) |
| CIE-LCH | lch(56.03, 47.49, 278.18°) |
| OKLab | oklab(62.27% -0.0291 -0.1335) |
| OKLCH | oklch(62.27% 0.137 257.7) |
| XYZ | xyz(24.2787, 23.9458, 68.2950) |
| Luminance | 0.2395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 3.15
Dodger Blue
#3E82FC
ΔE00 3.74
Faded Blue
#658CBB
ΔE00 4.06
Azure
#007FFF
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 4.54
Cool Blue
#4984B8
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F87D8 #D8A04F
analogous
#4FCCD8 #4F87D8 #5B4FD8
triadic
#4F87D8 #D84F87 #87D84F
tetradic
#4F87D8 #D84FCC #D8A04F #4FD85B
square
#4F87D8 #D84FCC #D8A04F #4FD85B
split-complementary
#4F87D8 #D85B4F #CCD84F
monochromatic
#1F4C8D #2A67BF #4F87D8 #81A9E3 #B3CBEE
Accessibility & contrast
On white
3.63
#4F87D8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#4F87D8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F87D8
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F87D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F87D8 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#648DDB
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #4f87d8; /* rgb */ color: rgb(79, 135, 216); /* oklch */ color: oklch(62.3% 0.137 257.7);
Tailwind
colors: {
custom: {
50: '#8da9e4',
500: '#4f87d8',
950: '#000000',
},
}SCSS
$custom: #4f87d8; $custom-light: #8da9e4; $custom-dark: #000000;
JSON
{
"hex": "#4f87d8",
"rgb": {
"r": 79,
"g": 135,
"b": 216
},
"hsl": {
"h": 215.474,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.62273,
"c": 0.13667,
"h": 257.7
},
"luminance": 0.23948
}Semantic roles & 50–950 ramp
primary
#4F87D8
secondary
#DDC6A6
accent
#A341E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84