#4D7DC7#4D7DC7
#4D7DC7 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.0% C 0.125 H 258.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7DC7 |
|---|---|
| RGB | rgb(77, 125, 199) |
| HSL | hsl(216, 52%, 54%) |
| HSV | hsv(216, 61%, 78%) |
| CMYK | cmyk(61.3%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(52.25, 6.64, -43.39) |
| CIE-LCH | lch(52.25, 43.89, 278.71°) |
| OKLab | oklab(59.02% -0.0244 -0.1231) |
| OKLCH | oklch(59.02% 0.125 258.8) |
| XYZ | xyz(20.6993, 20.3667, 56.8621) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.65
Cool Blue
#4984B8
ΔE00 4.44
Off Blue
#5684AE
ΔE00 4.44
Steel Blue
#4682B4
ΔE00 4.71
Dusty Blue
#5A86AD
ΔE00 5.12
Clear Blue
#247AFD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7DC7 #C7974D
analogous
#4DBAC7 #4D7DC7 #5A4DC7
triadic
#4D7DC7 #C74D7D #7DC74D
tetradic
#4D7DC7 #C74DBA #C7974D #4DC75A
square
#4D7DC7 #C74DBA #C7974D #4DC75A
split-complementary
#4D7DC7 #C75A4D #BAC74D
monochromatic
#254475 #335FA3 #4D7DC7 #7C9FD6 #AAC1E4
Accessibility & contrast
On white
4.14
#4D7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#4D7DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7DC7
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7DC7 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4d7dc7; /* rgb */ color: rgb(77, 125, 199); /* oklch */ color: oklch(59.0% 0.125 258.8);
Tailwind
colors: {
custom: {
50: '#89a2d8',
500: '#4d7dc7',
950: '#000000',
},
}SCSS
$custom: #4d7dc7; $custom-light: #89a2d8; $custom-dark: #000000;
JSON
{
"hex": "#4d7dc7",
"rgb": {
"r": 77,
"g": 125,
"b": 199
},
"hsl": {
"h": 216.393,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.59017,
"c": 0.12549,
"h": 258.8
},
"luminance": 0.20369
}Semantic roles & 50–950 ramp
primary
#4D7DC7
secondary
#D2BD9E
accent
#A34CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83