#4787FF#4787FF
#4787FF is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.191 H 261.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4787FF |
|---|---|
| RGB | rgb(71, 135, 255) |
| HSL | hsl(219, 100%, 64%) |
| HSV | hsv(219, 72%, 100%) |
| CMYK | cmyk(72.2%, 47.1%, 0%, 0%) |
| CIE-LAB | lab(57.93, 19.14, -65.67) |
| CIE-LCH | lch(57.93, 68.40, 286.25°) |
| OKLab | oklab(64.36% -0.0279 -0.1885) |
| OKLCH | oklch(64.36% 0.191 261.6) |
| XYZ | xyz(29.3060, 25.8843, 98.0400) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.70
Soft Blue
#6488EA
ΔE00 3.64
Azure
#007FFF
ΔE00 3.86
Lightish Blue
#3D7AFD
ΔE00 4.23
Clear Blue
#247AFD
ΔE00 4.43
Dark Sky Blue
#448EE4
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4787FF #FFBF47
analogous
#47E3FF #4787FF #6347FF
triadic
#4787FF #FF4787 #87FF47
tetradic
#4787FF #FF47E3 #FFBF47 #47FF63
square
#4787FF #FF47E3 #FFBF47 #47FF63
split-complementary
#4787FF #FF6347 #E3FF47
monochromatic
#0047CC #0A5FFF #4787FF #84AFFF #C1D7FF
Accessibility & contrast
On white
3.40
#4787FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#4787FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4787FF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4787FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4787FF | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#0C83FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #4787ff; /* rgb */ color: rgb(71, 135, 255); /* oklch */ color: oklch(64.4% 0.191 261.6);
Tailwind
colors: {
custom: {
50: '#90a9ff',
500: '#4787ff',
950: '#000000',
},
}SCSS
$custom: #4787ff; $custom-light: #90a9ff; $custom-dark: #000000;
JSON
{
"hex": "#4787ff",
"rgb": {
"r": 71,
"g": 135,
"b": 255
},
"hsl": {
"h": 219.13,
"s": 100,
"l": 63.922
},
"oklch": {
"l": 0.64362,
"c": 0.19051,
"h": 261.6
},
"luminance": 0.25888
}Semantic roles & 50–950 ramp
primary
#4787FF
secondary
#F1DBB1
accent
#9600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F18
muted
#7E7F86