#4A7FD4#4A7FD4
#4A7FD4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.142 H 259.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FD4 |
|---|---|
| RGB | rgb(74, 127, 212) |
| HSL | hsl(217, 62%, 56%) |
| HSV | hsv(217, 65%, 83%) |
| CMYK | cmyk(65.1%, 40.1%, 0%, 16.9%) |
| CIE-LAB | lab(53.37, 9.35, -49.00) |
| CIE-LCH | lch(53.37, 49.88, 280.80°) |
| OKLab | oklab(60.08% -0.026 -0.1395) |
| OKLCH | oklch(60.08% 0.142 259.4) |
| XYZ | xyz(22.2928, 21.3859, 65.2276) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 4.13
Dodger Blue
#3E82FC
ΔE00 4.17
Azure
#007FFF
ΔE00 4.25
Windows Blue
#3778BF
ΔE00 4.54
Lightish Blue
#3D7AFD
ΔE00 4.61
Deep Sky Blue
#0D75F8
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FD4 #D49F4A
analogous
#4AC4D4 #4A7FD4 #5A4AD4
triadic
#4A7FD4 #D44A7F #7FD44A
tetradic
#4A7FD4 #D44AC4 #D49F4A #4AD45A
square
#4A7FD4 #D44AC4 #D49F4A #4AD45A
split-complementary
#4A7FD4 #D45A4A #C4D44A
monochromatic
#1F4684 #2B60B6 #4A7FD4 #7BA2E0 #ADC5EB
Accessibility & contrast
On white
3.98
#4A7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#4A7FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FD4
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FD4 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5986D7
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7fd4; /* rgb */ color: rgb(74, 127, 212); /* oklch */ color: oklch(60.1% 0.142 259.4);
Tailwind
colors: {
custom: {
50: '#8aa3e2',
500: '#4a7fd4',
950: '#000000',
},
}SCSS
$custom: #4a7fd4; $custom-light: #8aa3e2; $custom-dark: #000000;
JSON
{
"hex": "#4a7fd4",
"rgb": {
"r": 74,
"g": 127,
"b": 212
},
"hsl": {
"h": 216.957,
"s": 61.607,
"l": 56.078
},
"oklch": {
"l": 0.60075,
"c": 0.14195,
"h": 259.4
},
"luminance": 0.21388
}Semantic roles & 50–950 ramp
primary
#4A7FD4
secondary
#D9C4A0
accent
#A743E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83