#4F7AC2#4F7AC2
#4F7AC2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.121 H 260.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7AC2 |
|---|---|
| RGB | rgb(79, 122, 194) |
| HSL | hsl(218, 49%, 54%) |
| HSV | hsv(218, 59%, 76%) |
| CMYK | cmyk(59.3%, 37.1%, 0%, 23.9%) |
| CIE-LAB | lab(51.24, 7.17, -42.13) |
| CIE-LCH | lch(51.24, 42.73, 279.66°) |
| OKLab | oklab(58.17% -0.0207 -0.1194) |
| OKLCH | oklch(58.17% 0.121 260.2) |
| XYZ | xyz(19.9182, 19.4747, 53.7378) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.70
Cornflower Blue
#5170D7
ΔE00 4.80
Off Blue
#5684AE
ΔE00 5.03
Cool Blue
#4984B8
ΔE00 5.33
Steel Blue
#4682B4
ΔE00 5.41
Flat Blue
#3C73A8
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7AC2 #C2974F
analogous
#4FB3C2 #4F7AC2 #5D4FC2
triadic
#4F7AC2 #C24F7A #7AC24F
tetradic
#4F7AC2 #C24FB3 #C2974F #4FC25D
square
#4F7AC2 #C24FB3 #C2974F #4FC25D
split-complementary
#4F7AC2 #C25D4F #B3C24F
monochromatic
#274270 #375D9D #4F7AC2 #7C9CD2 #AABFE2
Accessibility & contrast
On white
4.29
#4F7AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#4F7AC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7AC2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7AC2 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4f7ac2; /* rgb */ color: rgb(79, 122, 194); /* oklch */ color: oklch(58.2% 0.121 260.2);
Tailwind
colors: {
custom: {
50: '#89a0d5',
500: '#4f7ac2',
950: '#000000',
},
}SCSS
$custom: #4f7ac2; $custom-light: #89a0d5; $custom-dark: #000000;
JSON
{
"hex": "#4f7ac2",
"rgb": {
"r": 79,
"g": 122,
"b": 194
},
"hsl": {
"h": 217.565,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.58173,
"c": 0.12117,
"h": 260.2
},
"luminance": 0.19476
}Semantic roles & 50–950 ramp
primary
#4F7AC2
secondary
#CFBD9E
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83