#4A7AE2#4A7AE2
#4A7AE2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.167 H 263.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7AE2 |
|---|---|
| RGB | rgb(74, 122, 226) |
| HSL | hsl(221, 72%, 59%) |
| HSV | hsv(221, 67%, 89%) |
| CMYK | cmyk(67.3%, 46%, 0%, 11.4%) |
| CIE-LAB | lab(52.80, 17.30, -57.79) |
| CIE-LCH | lch(52.80, 60.33, 286.66°) |
| OKLab | oklab(59.9% -0.0187 -0.1655) |
| OKLCH | oklch(59.9% 0.167 263.5) |
| XYZ | xyz(23.5062, 20.8636, 74.7250) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.84
Clear Blue
#247AFD
ΔE00 3.17
Deep Sky Blue
#0D75F8
ΔE00 3.52
Dodger Blue
#3E82FC
ΔE00 3.98
Cornflower Blue
#5170D7
ΔE00 4.17
Azure
#007FFF
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7AE2 #E2B24A
analogous
#4AC6E2 #4A7AE2 #664AE2
triadic
#4A7AE2 #E24A7A #7AE24A
tetradic
#4A7AE2 #E24AC6 #E2B24A #4AE266
square
#4A7AE2 #E24AC6 #E2B24A #4AE266
split-complementary
#4A7AE2 #E2664A #C6E24A
monochromatic
#194199 #2158CE #4A7AE2 #7FA1EA #B3C8F3
Accessibility & contrast
On white
4.06
#4A7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#4A7AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7AE2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7AE2 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 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)
#4585E6
Deuteranopia (green-blind)
#2677E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4a7ae2; /* rgb */ color: rgb(74, 122, 226); /* oklch */ color: oklch(59.9% 0.167 263.5);
Tailwind
colors: {
custom: {
50: '#8c9fec',
500: '#4a7ae2',
950: '#000000',
},
}SCSS
$custom: #4a7ae2; $custom-light: #8c9fec; $custom-dark: #000000;
JSON
{
"hex": "#4a7ae2",
"rgb": {
"r": 74,
"g": 122,
"b": 226
},
"hsl": {
"h": 221.053,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.59896,
"c": 0.1665,
"h": 263.5
},
"luminance": 0.20866
}Semantic roles & 50–950 ramp
primary
#4A7AE2
secondary
#E2CFA6
accent
#B539EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84