#4F7BC2#4F7BC2
#4F7BC2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.120 H 259.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7BC2 |
|---|---|
| RGB | rgb(79, 123, 194) |
| HSL | hsl(217, 49%, 54%) |
| HSV | hsv(217, 59%, 76%) |
| CMYK | cmyk(59.3%, 36.6%, 0%, 23.9%) |
| CIE-LAB | lab(51.52, 6.56, -41.68) |
| CIE-LCH | lch(51.52, 42.19, 278.95°) |
| OKLab | oklab(58.39% -0.0217 -0.1181) |
| OKLCH | oklch(58.39% 0.12 259.6) |
| XYZ | xyz(20.0416, 19.7215, 53.7790) |
| Luminance | 0.1972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.62
Off Blue
#5684AE
ΔE00 4.75
Cool Blue
#4984B8
ΔE00 4.99
Cornflower Blue
#5170D7
ΔE00 5.10
Steel Blue
#4682B4
ΔE00 5.12
Bluish
#2976BB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7BC2 #C2964F
analogous
#4FB5C2 #4F7BC2 #5C4FC2
triadic
#4F7BC2 #C24F7B #7BC24F
tetradic
#4F7BC2 #C24FB5 #C2964F #4FC25C
square
#4F7BC2 #C24FB5 #C2964F #4FC25C
split-complementary
#4F7BC2 #C25C4F #B5C24F
monochromatic
#274370 #375E9D #4F7BC2 #7C9DD2 #AABFE2
Accessibility & contrast
On white
4.25
#4F7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#4F7BC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7BC2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7BC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7BC2 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4f7bc2; /* rgb */ color: rgb(79, 123, 194); /* oklch */ color: oklch(58.4% 0.120 259.6);
Tailwind
colors: {
custom: {
50: '#89a0d5',
500: '#4f7bc2',
950: '#000000',
},
}SCSS
$custom: #4f7bc2; $custom-light: #89a0d5; $custom-dark: #000000;
JSON
{
"hex": "#4f7bc2",
"rgb": {
"r": 79,
"g": 123,
"b": 194
},
"hsl": {
"h": 217.043,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.58393,
"c": 0.12007,
"h": 259.6
},
"luminance": 0.19723
}Semantic roles & 50–950 ramp
primary
#4F7BC2
secondary
#CFBC9E
accent
#A450D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83