#4A7FD1#4A7FD1
#4A7FD1 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.138 H 258.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FD1 |
|---|---|
| RGB | rgb(74, 127, 209) |
| HSL | hsl(216, 59%, 55%) |
| HSV | hsv(216, 65%, 82%) |
| CMYK | cmyk(64.6%, 39.2%, 0%, 18%) |
| CIE-LAB | lab(53.21, 8.31, -47.56) |
| CIE-LCH | lch(53.21, 48.28, 279.91°) |
| OKLab | oklab(59.9% -0.0267 -0.1353) |
| OKLCH | oklch(59.9% 0.138 258.9) |
| XYZ | xyz(21.9179, 21.2359, 63.2531) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 4.27
Clear Blue
#247AFD
ΔE00 4.37
Cool Blue
#4984B8
ΔE00 4.40
Azure
#007FFF
ΔE00 4.43
Dodger Blue
#3E82FC
ΔE00 4.47
Off Blue
#5684AE
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FD1 #D19C4A
analogous
#4AC3D1 #4A7FD1 #584AD1
triadic
#4A7FD1 #D14A7F #7FD14A
tetradic
#4A7FD1 #D14AC3 #D19C4A #4AD158
square
#4A7FD1 #D14AC3 #D19C4A #4AD158
split-complementary
#4A7FD1 #D1584A #C3D14A
monochromatic
#214680 #2D61B1 #4A7FD1 #7BA2DD #ACC4EA
Accessibility & contrast
On white
4.00
#4A7FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4A7FD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FD1
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FD1 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A86D4
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7fd1; /* rgb */ color: rgb(74, 127, 209); /* oklch */ color: oklch(59.9% 0.138 258.9);
Tailwind
colors: {
custom: {
50: '#89a3df',
500: '#4a7fd1',
950: '#000000',
},
}SCSS
$custom: #4a7fd1; $custom-light: #89a3df; $custom-dark: #000000;
JSON
{
"hex": "#4a7fd1",
"rgb": {
"r": 74,
"g": 127,
"b": 209
},
"hsl": {
"h": 216.444,
"s": 59.471,
"l": 55.49
},
"oklch": {
"l": 0.59897,
"c": 0.13792,
"h": 258.9
},
"luminance": 0.21238
}Semantic roles & 50–950 ramp
primary
#4A7FD1
secondary
#D8C19F
accent
#A545E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83