#4D7CD7#4D7CD7
#4D7CD7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.148 H 262.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7CD7 |
|---|---|
| RGB | rgb(77, 124, 215) |
| HSL | hsl(220, 63%, 57%) |
| HSV | hsv(220, 64%, 84%) |
| CMYK | cmyk(64.2%, 42.3%, 0%, 15.7%) |
| CIE-LAB | lab(52.84, 12.73, -51.53) |
| CIE-LCH | lch(52.84, 53.08, 283.87°) |
| OKLab | oklab(59.75% -0.02 -0.147) |
| OKLCH | oklch(59.75% 0.148 262.3) |
| XYZ | xyz(22.5297, 20.8973, 67.1231) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 3.97
Lightish Blue
#3D7AFD
ΔE00 4.00
Deep Sky Blue
#0D75F8
ΔE00 4.29
Dodger Blue
#3E82FC
ΔE00 4.40
Cornflower Blue
#5170D7
ΔE00 4.71
Azure
#007FFF
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7CD7 #D7A84D
analogous
#4DC1D7 #4D7CD7 #634DD7
triadic
#4D7CD7 #D74D7C #7CD74D
tetradic
#4D7CD7 #D74DC1 #D7A84D #4DD763
square
#4D7CD7 #D74DC1 #D7A84D #4DD763
split-complementary
#4D7CD7 #D7634D #C1D74D
monochromatic
#1F448A #2A5CBC #4D7CD7 #7FA1E2 #B1C6ED
Accessibility & contrast
On white
4.05
#4D7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4D7CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7CD7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7CD7 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4d7cd7; /* rgb */ color: rgb(77, 124, 215); /* oklch */ color: oklch(59.8% 0.148 262.3);
Tailwind
colors: {
custom: {
50: '#8ca1e4',
500: '#4d7cd7',
950: '#000000',
},
}SCSS
$custom: #4d7cd7; $custom-light: #8ca1e4; $custom-dark: #000000;
JSON
{
"hex": "#4d7cd7",
"rgb": {
"r": 77,
"g": 124,
"b": 215
},
"hsl": {
"h": 219.565,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.59754,
"c": 0.14832,
"h": 262.3
},
"luminance": 0.20899
}Semantic roles & 50–950 ramp
primary
#4D7CD7
secondary
#DCC9A4
accent
#AE41E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84