#4A7FD5#4A7FD5
#4A7FD5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.143 H 259.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FD5 |
|---|---|
| RGB | rgb(74, 127, 213) |
| HSL | hsl(217, 62%, 56%) |
| HSV | hsv(217, 65%, 84%) |
| CMYK | cmyk(65.3%, 40.4%, 0%, 16.5%) |
| CIE-LAB | lab(53.42, 9.69, -49.47) |
| CIE-LCH | lch(53.42, 50.41, 281.08°) |
| OKLab | oklab(60.14% -0.0258 -0.1409) |
| OKLCH | oklch(60.14% 0.143 259.6) |
| XYZ | xyz(22.4194, 21.4365, 65.8940) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 4.05
Dodger Blue
#3E82FC
ΔE00 4.07
Azure
#007FFF
ΔE00 4.20
Lightish Blue
#3D7AFD
ΔE00 4.51
Deep Sky Blue
#0D75F8
ΔE00 4.59
Windows Blue
#3778BF
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FD5 #D5A04A
analogous
#4AC5D5 #4A7FD5 #5B4AD5
triadic
#4A7FD5 #D54A7F #7FD54A
tetradic
#4A7FD5 #D54AC5 #D5A04A #4AD55B
square
#4A7FD5 #D54AC5 #D5A04A #4AD55B
split-complementary
#4A7FD5 #D55B4A #C5D54A
monochromatic
#1F4686 #2B60B7 #4A7FD5 #7CA2E1 #ADC5EC
Accessibility & contrast
On white
3.97
#4A7FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#4A7FD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FD5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FD5 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5887D8
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4a7fd5; /* rgb */ color: rgb(74, 127, 213); /* oklch */ color: oklch(60.1% 0.143 259.6);
Tailwind
colors: {
custom: {
50: '#8aa3e2',
500: '#4a7fd5',
950: '#000000',
},
}SCSS
$custom: #4a7fd5; $custom-light: #8aa3e2; $custom-dark: #000000;
JSON
{
"hex": "#4a7fd5",
"rgb": {
"r": 74,
"g": 127,
"b": 213
},
"hsl": {
"h": 217.122,
"s": 62.332,
"l": 56.275
},
"oklch": {
"l": 0.60136,
"c": 0.14328,
"h": 259.6
},
"luminance": 0.21439
}Semantic roles & 50–950 ramp
primary
#4A7FD5
secondary
#DAC4A1
accent
#A742E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83