#4F7EC6#4F7EC6
#4F7EC6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.122 H 258.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7EC6 |
|---|---|
| RGB | rgb(79, 126, 198) |
| HSL | hsl(216, 51%, 54%) |
| HSV | hsv(216, 60%, 78%) |
| CMYK | cmyk(60.1%, 36.4%, 0%, 22.4%) |
| CIE-LAB | lab(52.57, 6.09, -42.30) |
| CIE-LCH | lch(52.57, 42.73, 278.19°) |
| OKLab | oklab(59.28% -0.024 -0.1199) |
| OKLCH | oklch(59.28% 0.122 258.7) |
| XYZ | xyz(20.8748, 20.6594, 56.3027) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.91
Off Blue
#5684AE
ΔE00 4.24
Cool Blue
#4984B8
ΔE00 4.30
Steel Blue
#4682B4
ΔE00 4.62
Dusty Blue
#5A86AD
ΔE00 4.89
Faded Blue
#658CBB
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7EC6 #C6974F
analogous
#4FB9C6 #4F7EC6 #5C4FC6
triadic
#4F7EC6 #C64F7E #7EC64F
tetradic
#4F7EC6 #C64FB9 #C6974F #4FC65C
square
#4F7EC6 #C64FB9 #C6974F #4FC65C
split-complementary
#4F7EC6 #C65C4F #B9C64F
monochromatic
#264575 #3560A3 #4F7EC6 #7DA0D5 #ABC2E4
Accessibility & contrast
On white
4.09
#4F7EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#4F7EC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7EC6
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7EC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7EC6 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6084C9
Deuteranopia (green-blind)
#5078C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4f7ec6; /* rgb */ color: rgb(79, 126, 198); /* oklch */ color: oklch(59.3% 0.122 258.7);
Tailwind
colors: {
custom: {
50: '#8aa3d7',
500: '#4f7ec6',
950: '#000000',
},
}SCSS
$custom: #4f7ec6; $custom-light: #8aa3d7; $custom-dark: #000000;
JSON
{
"hex": "#4f7ec6",
"rgb": {
"r": 79,
"g": 126,
"b": 198
},
"hsl": {
"h": 216.303,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.59279,
"c": 0.12225,
"h": 258.7
},
"luminance": 0.20661
}Semantic roles & 50–950 ramp
primary
#4F7EC6
secondary
#D2BE9F
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83