#4787E6#4787E6
#4787E6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.158 H 258.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4787E6 |
|---|---|
| RGB | rgb(71, 135, 230) |
| HSL | hsl(216, 76%, 59%) |
| HSV | hsv(216, 69%, 90%) |
| CMYK | cmyk(69.1%, 41.3%, 0%, 9.8%) |
| CIE-LAB | lab(56.46, 10.30, -54.17) |
| CIE-LCH | lch(56.46, 55.15, 280.77°) |
| OKLab | oklab(62.76% -0.0322 -0.1547) |
| OKLCH | oklch(62.76% 0.158 258.2) |
| XYZ | xyz(25.5403, 24.3780, 78.2070) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.81
Dark Sky Blue
#448EE4
ΔE00 2.83
Azure
#007FFF
ΔE00 3.42
Soft Blue
#6488EA
ΔE00 4.51
Dodgerblue
#1E90FF
ΔE00 4.52
Clear Blue
#247AFD
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4787E6 #E6A647
analogous
#47D7E6 #4787E6 #5747E6
triadic
#4787E6 #E64787 #87E647
tetradic
#4787E6 #E647D7 #E6A647 #47E657
square
#4787E6 #E647D7 #E6A647 #47E657
split-complementary
#4787E6 #E65747 #D7E647
monochromatic
#154C9D #1D66D3 #4787E6 #7DAAED #B3CDF5
Accessibility & contrast
On white
3.57
#4787E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#4787E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4787E6
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4787E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4787E6 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8FEA
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4787e6; /* rgb */ color: rgb(71, 135, 230); /* oklch */ color: oklch(62.8% 0.158 258.2);
Tailwind
colors: {
custom: {
50: '#8ba9ee',
500: '#4787e6',
950: '#000000',
},
}SCSS
$custom: #4787e6; $custom-light: #8ba9ee; $custom-dark: #000000;
JSON
{
"hex": "#4787e6",
"rgb": {
"r": 71,
"g": 135,
"b": 230
},
"hsl": {
"h": 215.849,
"s": 76.077,
"l": 59.02
},
"oklch": {
"l": 0.62763,
"c": 0.15798,
"h": 258.2
},
"luminance": 0.24381
}Semantic roles & 50–950 ramp
primary
#4787E6
secondary
#E4CAA5
accent
#A635F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84