#4787E3#4787E3
#4787E3 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.154 H 257.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4787E3 |
|---|---|
| RGB | rgb(71, 135, 227) |
| HSL | hsl(215, 74%, 58%) |
| HSV | hsv(215, 69%, 89%) |
| CMYK | cmyk(68.7%, 40.5%, 0%, 11%) |
| CIE-LAB | lab(56.30, 9.25, -52.76) |
| CIE-LCH | lch(56.30, 53.57, 279.94°) |
| OKLab | oklab(62.58% -0.0328 -0.1505) |
| OKLCH | oklch(62.58% 0.154 257.7) |
| XYZ | xyz(25.1226, 24.2110, 76.0073) |
| Luminance | 0.2421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.71
Dodger Blue
#3E82FC
ΔE00 3.10
Azure
#007FFF
ΔE00 3.51
Dodgerblue
#1E90FF
ΔE00 4.52
Soft Blue
#6488EA
ΔE00 4.73
Clear Blue
#247AFD
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4787E3 #E3A347
analogous
#47D5E3 #4787E3 #5547E3
triadic
#4787E3 #E34787 #87E347
tetradic
#4787E3 #E347D5 #E3A347 #47E355
square
#4787E3 #E347D5 #E3A347 #47E355
split-complementary
#4787E3 #E35547 #D5E347
monochromatic
#174C98 #1F67CE #4787E3 #7CAAEB #B1CCF3
Accessibility & contrast
On white
3.59
#4787E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#4787E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4787E3
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4787E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4787E3 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #4787e3; /* rgb */ color: rgb(71, 135, 227); /* oklch */ color: oklch(62.6% 0.154 257.7);
Tailwind
colors: {
custom: {
50: '#8ba9ec',
500: '#4787e3',
950: '#000000',
},
}SCSS
$custom: #4787e3; $custom-light: #8ba9ec; $custom-dark: #000000;
JSON
{
"hex": "#4787e3",
"rgb": {
"r": 71,
"g": 135,
"b": 227
},
"hsl": {
"h": 215.385,
"s": 73.585,
"l": 58.431
},
"oklch": {
"l": 0.62581,
"c": 0.15406,
"h": 257.7
},
"luminance": 0.24214
}Semantic roles & 50–950 ramp
primary
#4787E3
secondary
#E2C8A4
accent
#A438F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84