#4F87E5#4F87E5
#4F87E5 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.154 H 260.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4F87E5 |
|---|---|
| RGB | rgb(79, 135, 229) |
| HSL | hsl(218, 74%, 60%) |
| HSV | hsv(218, 66%, 90%) |
| CMYK | cmyk(65.5%, 41%, 0%, 10.2%) |
| CIE-LAB | lab(56.73, 11.20, -53.18) |
| CIE-LCH | lch(56.73, 54.34, 281.90°) |
| OKLab | oklab(63.04% -0.0263 -0.1516) |
| OKLCH | oklch(63.04% 0.154 260.1) |
| XYZ | xyz(26.0262, 24.6448, 77.4989) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.63
Soft Blue
#6488EA
ΔE00 3.50
Dark Sky Blue
#448EE4
ΔE00 3.50
Azure
#007FFF
ΔE00 3.96
Cornflowerblue
#6495ED
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F87E5 #E5AD4F
analogous
#4FD2E5 #4F87E5 #624FE5
triadic
#4F87E5 #E54F87 #87E54F
tetradic
#4F87E5 #E54FD2 #E5AD4F #4FE562
square
#4F87E5 #E54FD2 #E5AD4F #4FE562
split-complementary
#4F87E5 #E5624F #D2E54F
monochromatic
#184BA2 #2064D7 #4F87E5 #84ABED #BAD0F5
Accessibility & contrast
On white
3.54
#4F87E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#4F87E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F87E5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F87E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F87E5 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#4482E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #4f87e5; /* rgb */ color: rgb(79, 135, 229); /* oklch */ color: oklch(63.0% 0.154 260.1);
Tailwind
colors: {
custom: {
50: '#8fa9ee',
500: '#4f87e5',
950: '#000000',
},
}SCSS
$custom: #4f87e5; $custom-light: #8fa9ee; $custom-dark: #000000;
JSON
{
"hex": "#4f87e5",
"rgb": {
"r": 79,
"g": 135,
"b": 229
},
"hsl": {
"h": 217.6,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.63037,
"c": 0.15389,
"h": 260.1
},
"luminance": 0.24647
}Semantic roles & 50–950 ramp
primary
#4F87E5
secondary
#E5CFAB
accent
#8C0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84