#4F7EC2#4F7EC2
#4F7EC2 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.1% C 0.117 H 257.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7EC2 |
|---|---|
| RGB | rgb(79, 126, 194) |
| HSL | hsl(215, 49%, 54%) |
| HSV | hsv(215, 59%, 76%) |
| CMYK | cmyk(59.3%, 35.1%, 0%, 23.9%) |
| CIE-LAB | lab(52.37, 4.75, -40.33) |
| CIE-LCH | lch(52.37, 40.61, 276.72°) |
| OKLab | oklab(59.06% -0.025 -0.1141) |
| OKLCH | oklch(59.06% 0.117 257.6) |
| XYZ | xyz(20.4195, 20.4772, 53.9049) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.64
Off Blue
#5684AE
ΔE00 3.97
Cool Blue
#4984B8
ΔE00 4.00
Steel Blue
#4682B4
ΔE00 4.28
Dusty Blue
#5A86AD
ΔE00 4.67
Faded Blue
#658CBB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7EC2 #C2934F
analogous
#4FB7C2 #4F7EC2 #594FC2
triadic
#4F7EC2 #C24F7E #7EC24F
tetradic
#4F7EC2 #C24FB7 #C2934F #4FC259
square
#4F7EC2 #C24FB7 #C2934F #4FC259
split-complementary
#4F7EC2 #C2594F #B7C24F
monochromatic
#274570 #37619D #4F7EC2 #7C9FD2 #AAC1E2
Accessibility & contrast
On white
4.12
#4F7EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#4F7EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7EC2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7EC2 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6283C5
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4f7ec2; /* rgb */ color: rgb(79, 126, 194); /* oklch */ color: oklch(59.1% 0.117 257.6);
Tailwind
colors: {
custom: {
50: '#89a3d5',
500: '#4f7ec2',
950: '#000000',
},
}SCSS
$custom: #4f7ec2; $custom-light: #89a3d5; $custom-dark: #000000;
JSON
{
"hex": "#4f7ec2",
"rgb": {
"r": 79,
"g": 126,
"b": 194
},
"hsl": {
"h": 215.478,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.59056,
"c": 0.11684,
"h": 257.6
},
"luminance": 0.20479
}Semantic roles & 50–950 ramp
primary
#4F7EC2
secondary
#CFBB9E
accent
#A050D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83