#4F7CC7#4F7CC7
#4F7CC7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.126 H 260.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7CC7 |
|---|---|
| RGB | rgb(79, 124, 199) |
| HSL | hsl(218, 52%, 55%) |
| HSV | hsv(218, 60%, 78%) |
| CMYK | cmyk(60.3%, 37.7%, 0%, 22%) |
| CIE-LAB | lab(52.06, 7.64, -43.68) |
| CIE-LCH | lch(52.06, 44.34, 279.92°) |
| OKLab | oklab(58.9% -0.0216 -0.1239) |
| OKLCH | oklch(58.9% 0.126 260.1) |
| XYZ | xyz(20.7373, 20.1993, 56.8278) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.94
Off Blue
#5684AE
ΔE00 4.76
Cool Blue
#4984B8
ΔE00 4.96
Cornflower Blue
#5170D7
ΔE00 5.14
Steel Blue
#4682B4
ΔE00 5.19
Deep Sky Blue
#0D75F8
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7CC7 #C79A4F
analogous
#4FB8C7 #4F7CC7 #5E4FC7
triadic
#4F7CC7 #C74F7C #7CC74F
tetradic
#4F7CC7 #C74FB8 #C79A4F #4FC75E
square
#4F7CC7 #C74FB8 #C79A4F #4FC75E
split-complementary
#4F7CC7 #C75E4F #B8C74F
monochromatic
#264476 #345EA4 #4F7CC7 #7D9FD6 #ACC1E5
Accessibility & contrast
On white
4.17
#4F7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#4F7CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7CC7
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7CC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7CC7 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #4f7cc7; /* rgb */ color: rgb(79, 124, 199); /* oklch */ color: oklch(58.9% 0.126 260.1);
Tailwind
colors: {
custom: {
50: '#8aa1d8',
500: '#4f7cc7',
950: '#000000',
},
}SCSS
$custom: #4f7cc7; $custom-light: #8aa1d8; $custom-dark: #000000;
JSON
{
"hex": "#4f7cc7",
"rgb": {
"r": 79,
"g": 124,
"b": 199
},
"hsl": {
"h": 217.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.58897,
"c": 0.1258,
"h": 260.1
},
"luminance": 0.20201
}Semantic roles & 50–950 ramp
primary
#4F7CC7
secondary
#D2BFA0
accent
#A64DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83