#4D7FC7#4D7FC7
#4D7FC7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.123 H 257.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7FC7 |
|---|---|
| RGB | rgb(77, 127, 199) |
| HSL | hsl(215, 52%, 54%) |
| HSV | hsv(215, 61%, 78%) |
| CMYK | cmyk(61.3%, 36.2%, 0%, 22%) |
| CIE-LAB | lab(52.82, 5.44, -42.49) |
| CIE-LCH | lch(52.82, 42.84, 277.29°) |
| OKLab | oklab(59.46% -0.0265 -0.1204) |
| OKLCH | oklch(59.46% 0.123 257.6) |
| XYZ | xyz(20.9551, 20.8781, 56.9473) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.80
Cool Blue
#4984B8
ΔE00 3.86
Off Blue
#5684AE
ΔE00 4.03
Steel Blue
#4682B4
ΔE00 4.24
Dusty Blue
#5A86AD
ΔE00 4.69
Faded Blue
#658CBB
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7FC7 #C7954D
analogous
#4DBCC7 #4D7FC7 #584DC7
triadic
#4D7FC7 #C74D7F #7FC74D
tetradic
#4D7FC7 #C74DBC #C7954D #4DC758
square
#4D7FC7 #C74DBC #C7954D #4DC758
split-complementary
#4D7FC7 #C7584D #BCC74D
monochromatic
#254675 #3361A3 #4D7FC7 #7CA0D6 #AAC2E4
Accessibility & contrast
On white
4.06
#4D7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#4D7FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7FC7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7FC7 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 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)
#6084CA
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4d7fc7; /* rgb */ color: rgb(77, 127, 199); /* oklch */ color: oklch(59.5% 0.123 257.6);
Tailwind
colors: {
custom: {
50: '#89a3d8',
500: '#4d7fc7',
950: '#000000',
},
}SCSS
$custom: #4d7fc7; $custom-light: #89a3d8; $custom-dark: #000000;
JSON
{
"hex": "#4d7fc7",
"rgb": {
"r": 77,
"g": 127,
"b": 199
},
"hsl": {
"h": 215.41,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.59458,
"c": 0.12334,
"h": 257.6
},
"luminance": 0.2088
}Semantic roles & 50–950 ramp
primary
#4D7FC7
secondary
#D2BD9E
accent
#A14CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83