#4A7CD8#4A7CD8
#4A7CD8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.151 H 261.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CD8 |
|---|---|
| RGB | rgb(74, 124, 216) |
| HSL | hsl(219, 65%, 57%) |
| HSV | hsv(219, 66%, 85%) |
| CMYK | cmyk(65.7%, 42.6%, 0%, 15.3%) |
| CIE-LAB | lab(52.76, 12.57, -52.23) |
| CIE-LCH | lch(52.76, 53.72, 283.53°) |
| OKLab | oklab(59.68% -0.0223 -0.1491) |
| OKLCH | oklch(59.68% 0.151 261.5) |
| XYZ | xyz(22.4220, 20.8268, 67.7908) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 3.74
Lightish Blue
#3D7AFD
ΔE00 3.95
Deep Sky Blue
#0D75F8
ΔE00 4.03
Dodger Blue
#3E82FC
ΔE00 4.27
Azure
#007FFF
ΔE00 4.55
Windows Blue
#3778BF
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CD8 #D8A64A
analogous
#4AC3D8 #4A7CD8 #5F4AD8
triadic
#4A7CD8 #D84A7C #7CD84A
tetradic
#4A7CD8 #D84AC3 #D8A64A #4AD85F
square
#4A7CD8 #D84AC3 #D8A64A #4AD85F
split-complementary
#4A7CD8 #D85F4A #C3D84A
monochromatic
#1E448A #295DBC #4A7CD8 #7CA0E3 #AFC5EE
Accessibility & contrast
On white
4.07
#4A7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#4A7CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CD8
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CD8 | 1.00 | 4.07 | 5.17 | 5.17 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7cd8; /* rgb */ color: rgb(74, 124, 216); /* oklch */ color: oklch(59.7% 0.151 261.5);
Tailwind
colors: {
custom: {
50: '#8ba1e4',
500: '#4a7cd8',
950: '#000000',
},
}SCSS
$custom: #4a7cd8; $custom-light: #8ba1e4; $custom-dark: #000000;
JSON
{
"hex": "#4a7cd8",
"rgb": {
"r": 74,
"g": 124,
"b": 216
},
"hsl": {
"h": 218.873,
"s": 64.545,
"l": 56.863
},
"oklch": {
"l": 0.59676,
"c": 0.15073,
"h": 261.5
},
"luminance": 0.20829
}Semantic roles & 50–950 ramp
primary
#4A7CD8
secondary
#DCC7A2
accent
#AD40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84