#4A79BF#4A79BF
#4A79BF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.5% C 0.120 H 258.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4A79BF |
|---|---|
| RGB | rgb(74, 121, 191) |
| HSL | hsl(216, 48%, 52%) |
| HSV | hsv(216, 61%, 75%) |
| CMYK | cmyk(61.3%, 36.6%, 0%, 25.1%) |
| CIE-LAB | lab(50.56, 5.78, -41.50) |
| CIE-LCH | lch(50.56, 41.90, 277.93°) |
| OKLab | oklab(57.53% -0.0246 -0.1177) |
| OKLCH | oklch(57.53% 0.12 258.2) |
| XYZ | xyz(19.0621, 18.8905, 51.9218) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.73
Bluish
#2976BB
ΔE00 4.45
Flat Blue
#3C73A8
ΔE00 4.51
Medium Blue
#2C6FBB
ΔE00 4.64
Steel Blue
#4682B4
ΔE00 4.99
Off Blue
#5684AE
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A79BF #BF904A
analogous
#4AB4BF #4A79BF #564ABF
triadic
#4A79BF #BF4A79 #79BF4A
tetradic
#4A79BF #BF4AB4 #BF904A #4ABF56
square
#4A79BF #BF4AB4 #BF904A #4ABF56
split-complementary
#4A79BF #BF564A #B4BF4A
monochromatic
#254169 #355C97 #4A79BF #779ACF #A4BCDF
Accessibility & contrast
On white
4.39
#4A79BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#4A79BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A79BF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A79BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A79BF | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4a79bf; /* rgb */ color: rgb(74, 121, 191); /* oklch */ color: oklch(57.5% 0.120 258.2);
Tailwind
colors: {
custom: {
50: '#879fd2',
500: '#4a79bf',
950: '#000000',
},
}SCSS
$custom: #4a79bf; $custom-light: #879fd2; $custom-dark: #000000;
JSON
{
"hex": "#4a79bf",
"rgb": {
"r": 74,
"g": 121,
"b": 191
},
"hsl": {
"h": 215.897,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.57529,
"c": 0.12021,
"h": 258.2
},
"luminance": 0.18892
}Semantic roles & 50–950 ramp
primary
#4A79BF
secondary
#CCB799
accent
#A150D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82