#4D7AC5#4D7AC5
#4D7AC5 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.126 H 260.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7AC5 |
|---|---|
| RGB | rgb(77, 122, 197) |
| HSL | hsl(218, 51%, 54%) |
| HSV | hsv(218, 61%, 77%) |
| CMYK | cmyk(60.9%, 38.1%, 0%, 22.7%) |
| CIE-LAB | lab(51.30, 7.79, -43.75) |
| CIE-LCH | lch(51.30, 44.44, 280.09°) |
| OKLab | oklab(58.24% -0.0217 -0.1242) |
| OKLCH | oklch(58.24% 0.126 260.1) |
| XYZ | xyz(20.0946, 19.5263, 55.5225) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.56
Cornflower Blue
#5170D7
ΔE00 4.79
Off Blue
#5684AE
ΔE00 5.08
Cool Blue
#4984B8
ΔE00 5.27
Deep Sky Blue
#0D75F8
ΔE00 5.28
Bluish
#2976BB
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7AC5 #C5984D
analogous
#4DB6C5 #4D7AC5 #5C4DC5
triadic
#4D7AC5 #C54D7A #7AC54D
tetradic
#4D7AC5 #C54DB6 #C5984D #4DC55C
square
#4D7AC5 #C54DB6 #C5984D #4DC55C
split-complementary
#4D7AC5 #C55C4D #B6C54D
monochromatic
#254272 #345DA0 #4D7AC5 #7B9CD4 #A9BFE3
Accessibility & contrast
On white
4.28
#4D7AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#4D7AC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7AC5
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7AC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7AC5 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4d7ac5; /* rgb */ color: rgb(77, 122, 197); /* oklch */ color: oklch(58.2% 0.126 260.1);
Tailwind
colors: {
custom: {
50: '#89a0d7',
500: '#4d7ac5',
950: '#000000',
},
}SCSS
$custom: #4d7ac5; $custom-light: #89a0d7; $custom-dark: #000000;
JSON
{
"hex": "#4d7ac5",
"rgb": {
"r": 77,
"g": 122,
"b": 197
},
"hsl": {
"h": 217.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.58244,
"c": 0.12608,
"h": 260.1
},
"luminance": 0.19528
}Semantic roles & 50–950 ramp
primary
#4D7AC5
secondary
#D1BD9D
accent
#A64DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83