#4F7DC7#4F7DC7
#4F7DC7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.1% C 0.125 H 259.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7DC7 |
|---|---|
| RGB | rgb(79, 125, 199) |
| HSL | hsl(217, 52%, 55%) |
| HSV | hsv(217, 60%, 78%) |
| CMYK | cmyk(60.3%, 37.2%, 0%, 22%) |
| CIE-LAB | lab(52.34, 7.03, -43.23) |
| CIE-LCH | lch(52.34, 43.80, 279.24°) |
| OKLab | oklab(59.12% -0.0227 -0.1226) |
| OKLCH | oklch(59.12% 0.125 259.5) |
| XYZ | xyz(20.8632, 20.4512, 56.8698) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.94
Off Blue
#5684AE
ΔE00 4.53
Cool Blue
#4984B8
ΔE00 4.66
Steel Blue
#4682B4
ΔE00 4.94
Dusty Blue
#5A86AD
ΔE00 5.16
Clear Blue
#247AFD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7DC7 #C7994F
analogous
#4FB9C7 #4F7DC7 #5D4FC7
triadic
#4F7DC7 #C74F7D #7DC74F
tetradic
#4F7DC7 #C74FB9 #C7994F #4FC75D
square
#4F7DC7 #C74FB9 #C7994F #4FC75D
split-complementary
#4F7DC7 #C75D4F #B9C74F
monochromatic
#264476 #345FA4 #4F7DC7 #7D9FD6 #ACC2E5
Accessibility & contrast
On white
4.13
#4F7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#4F7DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7DC7
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7DC7 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4D78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4f7dc7; /* rgb */ color: rgb(79, 125, 199); /* oklch */ color: oklch(59.1% 0.125 259.5);
Tailwind
colors: {
custom: {
50: '#8aa2d8',
500: '#4f7dc7',
950: '#000000',
},
}SCSS
$custom: #4f7dc7; $custom-light: #8aa2d8; $custom-dark: #000000;
JSON
{
"hex": "#4f7dc7",
"rgb": {
"r": 79,
"g": 125,
"b": 199
},
"hsl": {
"h": 217,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.59116,
"c": 0.1247,
"h": 259.5
},
"luminance": 0.20453
}Semantic roles & 50–950 ramp
primary
#4F7DC7
secondary
#D2BFA0
accent
#A54DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83