#4A7AEF#4A7AEF
#4A7AEF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.184 H 264.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7AEF |
|---|---|
| RGB | rgb(74, 122, 239) |
| HSL | hsl(223, 84%, 61%) |
| HSV | hsv(223, 69%, 94%) |
| CMYK | cmyk(69%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(53.60, 21.86, -63.77) |
| CIE-LCH | lch(53.60, 67.41, 288.92°) |
| OKLab | oklab(60.77% -0.0169 -0.183) |
| OKLCH | oklch(60.77% 0.184 264.7) |
| XYZ | xyz(25.3581, 21.6043, 84.4783) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.56
Clear Blue
#247AFD
ΔE00 2.76
Dodger Blue
#3E82FC
ΔE00 3.40
Deep Sky Blue
#0D75F8
ΔE00 3.60
Azure
#007FFF
ΔE00 4.63
Cornflower Blue
#5170D7
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7AEF #EFBF4A
analogous
#4ACDEF #4A7AEF #6D4AEF
triadic
#4A7AEF #EF4A7A #7AEF4A
tetradic
#4A7AEF #EF4ACD #EFBF4A #4AEF6D
square
#4A7AEF #EF4ACD #EFBF4A #4AEF6D
split-complementary
#4A7AEF #EF6D4A #CDEF4A
monochromatic
#0F3EAF #1452E7 #4A7AEF #82A3F4 #BACDF9
Accessibility & contrast
On white
3.95
#4A7AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#4A7AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7AEF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7AEF | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4a7aef; /* rgb */ color: rgb(74, 122, 239); /* oklch */ color: oklch(60.8% 0.184 264.7);
Tailwind
colors: {
custom: {
50: '#8f9ff5',
500: '#4a7aef',
950: '#000000',
},
}SCSS
$custom: #4a7aef; $custom-light: #8f9ff5; $custom-dark: #000000;
JSON
{
"hex": "#4a7aef",
"rgb": {
"r": 74,
"g": 122,
"b": 239
},
"hsl": {
"h": 222.545,
"s": 83.756,
"l": 61.373
},
"oklch": {
"l": 0.6077,
"c": 0.18381,
"h": 264.7
},
"luminance": 0.21607
}Semantic roles & 50–950 ramp
primary
#4A7AEF
secondary
#E9D7AC
accent
#A105E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85