#4A7AF0#4A7AF0
#4A7AF0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.185 H 264.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7AF0 |
|---|---|
| RGB | rgb(74, 122, 240) |
| HSL | hsl(223, 85%, 62%) |
| HSV | hsv(223, 69%, 94%) |
| CMYK | cmyk(69.2%, 49.2%, 0%, 5.9%) |
| CIE-LAB | lab(53.67, 22.21, -64.22) |
| CIE-LCH | lch(53.67, 67.96, 289.08°) |
| OKLab | oklab(60.84% -0.0168 -0.1844) |
| OKLCH | oklch(60.84% 0.185 264.8) |
| XYZ | xyz(25.5062, 21.6636, 85.2585) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.49
Clear Blue
#247AFD
ΔE00 2.76
Dodger Blue
#3E82FC
ΔE00 3.38
Deep Sky Blue
#0D75F8
ΔE00 3.63
Azure
#007FFF
ΔE00 4.65
Cornflower Blue
#5170D7
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7AF0 #F0C04A
analogous
#4ACDF0 #4A7AF0 #6D4AF0
triadic
#4A7AF0 #F04A7A #7AF04A
tetradic
#4A7AF0 #F04ACD #F0C04A #4AF06D
square
#4A7AF0 #F04ACD #F0C04A #4AF06D
split-complementary
#4A7AF0 #F06D4A #CDF04A
monochromatic
#0F3EB1 #1351E9 #4A7AF0 #83A4F5 #BBCDF9
Accessibility & contrast
On white
3.94
#4A7AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#4A7AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7AF0
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7AF0 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4a7af0; /* rgb */ color: rgb(74, 122, 240); /* oklch */ color: oklch(60.8% 0.185 264.8);
Tailwind
colors: {
custom: {
50: '#8f9ff6',
500: '#4a7af0',
950: '#000000',
},
}SCSS
$custom: #4a7af0; $custom-light: #8f9ff6; $custom-dark: #000000;
JSON
{
"hex": "#4a7af0",
"rgb": {
"r": 74,
"g": 122,
"b": 240
},
"hsl": {
"h": 222.651,
"s": 84.694,
"l": 61.569
},
"oklch": {
"l": 0.60839,
"c": 0.18514,
"h": 264.8
},
"luminance": 0.21666
}Semantic roles & 50–950 ramp
primary
#4A7AF0
secondary
#EAD8AC
accent
#A104E1
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85