#4D7CD8#4D7CD8
#4D7CD8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.150 H 262.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7CD8 |
|---|---|
| RGB | rgb(77, 124, 216) |
| HSL | hsl(220, 64%, 57%) |
| HSV | hsv(220, 64%, 85%) |
| CMYK | cmyk(64.4%, 42.6%, 0%, 15.3%) |
| CIE-LAB | lab(52.89, 13.07, -52.01) |
| CIE-LCH | lch(52.89, 53.62, 284.11°) |
| OKLab | oklab(59.82% -0.0198 -0.1484) |
| OKLCH | oklch(59.82% 0.15 262.4) |
| XYZ | xyz(22.6585, 20.9488, 67.8019) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.90
Clear Blue
#247AFD
ΔE00 3.90
Deep Sky Blue
#0D75F8
ΔE00 4.24
Dodger Blue
#3E82FC
ΔE00 4.32
Cornflower Blue
#5170D7
ΔE00 4.69
Azure
#007FFF
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7CD8 #D8A94D
analogous
#4DC2D8 #4D7CD8 #634DD8
triadic
#4D7CD8 #D84D7C #7CD84D
tetradic
#4D7CD8 #D84DC2 #D8A94D #4DD863
square
#4D7CD8 #D84DC2 #D8A94D #4DD863
split-complementary
#4D7CD8 #D8634D #C2D84D
monochromatic
#1F448C #2A5CBE #4D7CD8 #7FA1E3 #B1C6EE
Accessibility & contrast
On white
4.05
#4D7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#4D7CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7CD8
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7CD8 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4d7cd8; /* rgb */ color: rgb(77, 124, 216); /* oklch */ color: oklch(59.8% 0.150 262.4);
Tailwind
colors: {
custom: {
50: '#8ca1e4',
500: '#4d7cd8',
950: '#000000',
},
}SCSS
$custom: #4d7cd8; $custom-light: #8ca1e4; $custom-dark: #000000;
JSON
{
"hex": "#4d7cd8",
"rgb": {
"r": 77,
"g": 124,
"b": 216
},
"hsl": {
"h": 219.712,
"s": 64.055,
"l": 57.451
},
"oklch": {
"l": 0.59816,
"c": 0.14967,
"h": 262.4
},
"luminance": 0.20951
}Semantic roles & 50–950 ramp
primary
#4D7CD8
secondary
#DCC9A4
accent
#AF41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84