#4A7EC8#4A7EC8
#4A7EC8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.127 H 257.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7EC8 |
|---|---|
| RGB | rgb(74, 126, 200) |
| HSL | hsl(215, 53%, 54%) |
| HSV | hsv(215, 63%, 78%) |
| CMYK | cmyk(63%, 37%, 0%, 21.6%) |
| CIE-LAB | lab(52.45, 5.82, -43.65) |
| CIE-LCH | lch(52.45, 44.04, 277.59°) |
| OKLab | oklab(59.15% -0.0277 -0.1239) |
| OKLCH | oklch(59.15% 0.127 257.4) |
| XYZ | xyz(20.7065, 20.5457, 57.5069) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.41
Cool Blue
#4984B8
ΔE00 3.93
Off Blue
#5684AE
ΔE00 4.21
Steel Blue
#4682B4
ΔE00 4.23
Dusty Blue
#5A86AD
ΔE00 4.92
Clear Blue
#247AFD
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7EC8 #C8944A
analogous
#4ABDC8 #4A7EC8 #554AC8
triadic
#4A7EC8 #C84A7E #7EC84A
tetradic
#4A7EC8 #C84ABD #C8944A #4AC855
square
#4A7EC8 #C84ABD #C8944A #4AC855
split-complementary
#4A7EC8 #C8554A #BDC84A
monochromatic
#234574 #3260A3 #4A7EC8 #799FD6 #A8C1E5
Accessibility & contrast
On white
4.11
#4A7EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#4A7EC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7EC8
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7EC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7EC8 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#4C78C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4a7ec8; /* rgb */ color: rgb(74, 126, 200); /* oklch */ color: oklch(59.2% 0.127 257.4);
Tailwind
colors: {
custom: {
50: '#88a3d9',
500: '#4a7ec8',
950: '#000000',
},
}SCSS
$custom: #4a7ec8; $custom-light: #88a3d9; $custom-dark: #000000;
JSON
{
"hex": "#4a7ec8",
"rgb": {
"r": 74,
"g": 126,
"b": 200
},
"hsl": {
"h": 215.238,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.59152,
"c": 0.12697,
"h": 257.4
},
"luminance": 0.20548
}Semantic roles & 50–950 ramp
primary
#4A7EC8
secondary
#D2BC9C
accent
#A14BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83