#4787DE#4787DE
#4787DE is a light, vivid cyan. Relative luminance 0.239; OKLCH L 62.3% C 0.148 H 256.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4787DE |
|---|---|
| RGB | rgb(71, 135, 222) |
| HSL | hsl(215, 70%, 57%) |
| HSV | hsv(215, 68%, 87%) |
| CMYK | cmyk(68%, 39.2%, 0%, 12.9%) |
| CIE-LAB | lab(56.03, 7.50, -50.40) |
| CIE-LCH | lch(56.03, 50.96, 278.46°) |
| OKLab | oklab(62.28% -0.0339 -0.1436) |
| OKLCH | oklch(62.28% 0.148 256.7) |
| XYZ | xyz(24.4425, 23.9389, 72.4256) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Sky Blue
#448EE4
ΔE00 2.61
Dodger Blue
#3E82FC
ΔE00 3.59
Azure
#007FFF
ΔE00 3.73
Dodgerblue
#1E90FF
ΔE00 4.57
Cool Blue
#4984B8
ΔE00 4.61
Faded Blue
#658CBB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4787DE #DE9E47
analogous
#47D2DE #4787DE #5347DE
triadic
#4787DE #DE4787 #87DE47
tetradic
#4787DE #DE47D2 #DE9E47 #47DE53
square
#4787DE #DE47D2 #DE9E47 #47DE53
split-complementary
#4787DE #DE5347 #D2DE47
monochromatic
#1A4C91 #2368C5 #4787DE #7BA9E7 #AFCBF1
Accessibility & contrast
On white
3.63
#4787DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#4787DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4787DE
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4787DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4787DE | 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)
#5F8EE1
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #4787de; /* rgb */ color: rgb(71, 135, 222); /* oklch */ color: oklch(62.3% 0.148 256.7);
Tailwind
colors: {
custom: {
50: '#8aa9e9',
500: '#4787de',
950: '#000000',
},
}SCSS
$custom: #4787de; $custom-light: #8aa9e9; $custom-dark: #000000;
JSON
{
"hex": "#4787de",
"rgb": {
"r": 71,
"g": 135,
"b": 222
},
"hsl": {
"h": 214.57,
"s": 69.585,
"l": 57.451
},
"oklch": {
"l": 0.62281,
"c": 0.14754,
"h": 256.7
},
"luminance": 0.23941
}Semantic roles & 50–950 ramp
primary
#4787DE
secondary
#DFC5A2
accent
#A13BEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84