#4A7AE7#4A7AE7
#4A7AE7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.173 H 264.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7AE7 |
|---|---|
| RGB | rgb(74, 122, 231) |
| HSL | hsl(222, 77%, 60%) |
| HSV | hsv(222, 68%, 91%) |
| CMYK | cmyk(68%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(53.10, 19.05, -60.11) |
| CIE-LCH | lch(53.10, 63.05, 287.59°) |
| OKLab | oklab(60.23% -0.018 -0.1723) |
| OKLCH | oklch(60.23% 0.173 264) |
| XYZ | xyz(24.2023, 21.1420, 78.3911) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.31
Clear Blue
#247AFD
ΔE00 2.92
Deep Sky Blue
#0D75F8
ΔE00 3.47
Dodger Blue
#3E82FC
ΔE00 3.70
Cornflower Blue
#5170D7
ΔE00 4.30
Azure
#007FFF
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7AE7 #E7B74A
analogous
#4AC9E7 #4A7AE7 #694AE7
triadic
#4A7AE7 #E74A7A #7AE74A
tetradic
#4A7AE7 #E74AC9 #E7B74A #4AE769
square
#4A7AE7 #E74AC9 #E7B74A #4AE769
split-complementary
#4A7AE7 #E7694A #C9E74A
monochromatic
#1540A1 #1D56D7 #4A7AE7 #80A2EE #B6C9F5
Accessibility & contrast
On white
4.02
#4A7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#4A7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7AE7
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7AE7 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4a7ae7; /* rgb */ color: rgb(74, 122, 231); /* oklch */ color: oklch(60.2% 0.173 264.0);
Tailwind
colors: {
custom: {
50: '#8d9fef',
500: '#4a7ae7',
950: '#000000',
},
}SCSS
$custom: #4a7ae7; $custom-light: #8d9fef; $custom-dark: #000000;
JSON
{
"hex": "#4a7ae7",
"rgb": {
"r": 74,
"g": 122,
"b": 231
},
"hsl": {
"h": 221.656,
"s": 76.585,
"l": 59.804
},
"oklch": {
"l": 0.60228,
"c": 0.1732,
"h": 264
},
"luminance": 0.21144
}Semantic roles & 50–950 ramp
primary
#4A7AE7
secondary
#E5D2A8
accent
#B935F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84