#4D7CD6#4D7CD6
#4D7CD6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.147 H 262.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7CD6 |
|---|---|
| RGB | rgb(77, 124, 214) |
| HSL | hsl(219, 63%, 57%) |
| HSV | hsv(219, 64%, 84%) |
| CMYK | cmyk(64%, 42.1%, 0%, 16.1%) |
| CIE-LAB | lab(52.78, 12.38, -51.06) |
| CIE-LCH | lch(52.78, 52.54, 283.63°) |
| OKLab | oklab(59.69% -0.0202 -0.1456) |
| OKLCH | oklch(59.69% 0.147 262.1) |
| XYZ | xyz(22.4016, 20.8460, 66.4484) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 4.05
Lightish Blue
#3D7AFD
ΔE00 4.11
Deep Sky Blue
#0D75F8
ΔE00 4.33
Dodger Blue
#3E82FC
ΔE00 4.48
Cornflower Blue
#5170D7
ΔE00 4.73
Azure
#007FFF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7CD6 #D6A74D
analogous
#4DC1D6 #4D7CD6 #634DD6
triadic
#4D7CD6 #D64D7C #7CD64D
tetradic
#4D7CD6 #D64DC1 #D6A74D #4DD663
square
#4D7CD6 #D64DC1 #D6A74D #4DD663
split-complementary
#4D7CD6 #D6634D #C1D64D
monochromatic
#204489 #2B5CBB #4D7CD6 #7FA1E1 #B0C5ED
Accessibility & contrast
On white
4.06
#4D7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#4D7CD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7CD6
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7CD6 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4d7cd6; /* rgb */ color: rgb(77, 124, 214); /* oklch */ color: oklch(59.7% 0.147 262.1);
Tailwind
colors: {
custom: {
50: '#8ca1e3',
500: '#4d7cd6',
950: '#000000',
},
}SCSS
$custom: #4d7cd6; $custom-light: #8ca1e3; $custom-dark: #000000;
JSON
{
"hex": "#4d7cd6",
"rgb": {
"r": 77,
"g": 124,
"b": 214
},
"hsl": {
"h": 219.416,
"s": 62.557,
"l": 57.059
},
"oklch": {
"l": 0.59692,
"c": 0.14697,
"h": 262.1
},
"luminance": 0.20848
}Semantic roles & 50–950 ramp
primary
#4D7CD6
secondary
#DBC8A4
accent
#AE42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83