#4A7FD6#4A7FD6
#4A7FD6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.145 H 259.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FD6 |
|---|---|
| RGB | rgb(74, 127, 214) |
| HSL | hsl(217, 63%, 56%) |
| HSV | hsv(217, 65%, 84%) |
| CMYK | cmyk(65.4%, 40.7%, 0%, 16.1%) |
| CIE-LAB | lab(53.48, 10.04, -49.95) |
| CIE-LCH | lch(53.48, 50.95, 281.36°) |
| OKLab | oklab(60.2% -0.0256 -0.1423) |
| OKLCH | oklch(60.2% 0.145 259.8) |
| XYZ | xyz(22.5467, 21.4874, 66.5646) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 3.97
Dodger Blue
#3E82FC
ΔE00 3.97
Azure
#007FFF
ΔE00 4.14
Lightish Blue
#3D7AFD
ΔE00 4.41
Deep Sky Blue
#0D75F8
ΔE00 4.55
Windows Blue
#3778BF
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FD6 #D6A14A
analogous
#4AC5D6 #4A7FD6 #5B4AD6
triadic
#4A7FD6 #D64A7F #7FD64A
tetradic
#4A7FD6 #D64AC5 #D6A14A #4AD65B
square
#4A7FD6 #D64AC5 #D6A14A #4AD65B
split-complementary
#4A7FD6 #D65B4A #C5D64A
monochromatic
#1F4687 #2A60B9 #4A7FD6 #7CA2E1 #AEC6ED
Accessibility & contrast
On white
3.96
#4A7FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#4A7FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FD6
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FD6 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5787D9
Deuteranopia (green-blind)
#427AD4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4a7fd6; /* rgb */ color: rgb(74, 127, 214); /* oklch */ color: oklch(60.2% 0.145 259.8);
Tailwind
colors: {
custom: {
50: '#8aa3e3',
500: '#4a7fd6',
950: '#000000',
},
}SCSS
$custom: #4a7fd6; $custom-light: #8aa3e3; $custom-dark: #000000;
JSON
{
"hex": "#4a7fd6",
"rgb": {
"r": 74,
"g": 127,
"b": 214
},
"hsl": {
"h": 217.286,
"s": 63.063,
"l": 56.471
},
"oklch": {
"l": 0.60196,
"c": 0.14462,
"h": 259.8
},
"luminance": 0.2149
}Semantic roles & 50–950 ramp
primary
#4A7FD6
secondary
#DBC5A1
accent
#A842E6
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83