#4A78BF#4A78BF
#4A78BF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.3% C 0.121 H 258.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4A78BF |
|---|---|
| RGB | rgb(74, 120, 191) |
| HSL | hsl(216, 48%, 52%) |
| HSV | hsv(216, 61%, 75%) |
| CMYK | cmyk(61.3%, 37.2%, 0%, 25.1%) |
| CIE-LAB | lab(50.27, 6.39, -41.95) |
| CIE-LCH | lch(50.27, 42.43, 278.66°) |
| OKLab | oklab(57.31% -0.0236 -0.119) |
| OKLCH | oklch(57.31% 0.121 258.8) |
| XYZ | xyz(18.9412, 18.6487, 51.8815) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.88
Flat Blue
#3C73A8
ΔE00 4.45
Medium Blue
#2C6FBB
ΔE00 4.48
Bluish
#2976BB
ΔE00 4.56
Cornflower Blue
#5170D7
ΔE00 4.96
Dull Blue
#49759C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A78BF #BF914A
analogous
#4AB3BF #4A78BF #574ABF
triadic
#4A78BF #BF4A78 #78BF4A
tetradic
#4A78BF #BF4AB3 #BF914A #4ABF57
square
#4A78BF #BF4AB3 #BF914A #4ABF57
split-complementary
#4A78BF #BF574A #B3BF4A
monochromatic
#254069 #355C97 #4A78BF #779ACF #A4BBDF
Accessibility & contrast
On white
4.44
#4A78BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#4A78BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A78BF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A78BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A78BF | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #4a78bf; /* rgb */ color: rgb(74, 120, 191); /* oklch */ color: oklch(57.3% 0.121 258.8);
Tailwind
colors: {
custom: {
50: '#879ed2',
500: '#4a78bf',
950: '#000000',
},
}SCSS
$custom: #4a78bf; $custom-light: #879ed2; $custom-dark: #000000;
JSON
{
"hex": "#4a78bf",
"rgb": {
"r": 74,
"g": 120,
"b": 191
},
"hsl": {
"h": 216.41,
"s": 47.755,
"l": 51.961
},
"oklch": {
"l": 0.57307,
"c": 0.1213,
"h": 258.8
},
"luminance": 0.1865
}Semantic roles & 50–950 ramp
primary
#4A78BF
secondary
#CCB899
accent
#A250D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82