#4E7AF2#4E7AF2
#4E7AF2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.187 H 265.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7AF2 |
|---|---|
| RGB | rgb(78, 122, 242) |
| HSL | hsl(224, 86%, 63%) |
| HSV | hsv(224, 68%, 95%) |
| CMYK | cmyk(67.8%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(53.97, 23.49, -64.84) |
| CIE-LCH | lch(53.97, 68.96, 289.91°) |
| OKLab | oklab(61.16% -0.0133 -0.1861) |
| OKLCH | oklch(61.16% 0.187 265.9) |
| XYZ | xyz(26.1228, 21.9470, 86.8467) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.68
Clear Blue
#247AFD
ΔE00 3.25
Dodger Blue
#3E82FC
ΔE00 3.63
Deep Sky Blue
#0D75F8
ΔE00 4.17
Cornflower
#6A79F7
ΔE00 4.46
Soft Blue
#6488EA
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7AF2 #F2C64E
analogous
#4ECCF2 #4E7AF2 #744EF2
triadic
#4E7AF2 #F24E7A #7AF24E
tetradic
#4E7AF2 #F24ECC #F2C64E #4EF274
square
#4E7AF2 #F24ECC #F2C64E #4EF274
split-complementary
#4E7AF2 #F2744E #CCF24E
monochromatic
#0E3BB8 #154FEE #4E7AF2 #87A5F6 #C0D0FA
Accessibility & contrast
On white
3.90
#4E7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#4E7AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7AF2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7AF2 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4e7af2; /* rgb */ color: rgb(78, 122, 242); /* oklch */ color: oklch(61.2% 0.187 265.9);
Tailwind
colors: {
custom: {
50: '#919ff7',
500: '#4e7af2',
950: '#000000',
},
}SCSS
$custom: #4e7af2; $custom-light: #919ff7; $custom-dark: #000000;
JSON
{
"hex": "#4e7af2",
"rgb": {
"r": 78,
"g": 122,
"b": 242
},
"hsl": {
"h": 223.902,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.61158,
"c": 0.18658,
"h": 265.9
},
"luminance": 0.2195
}Semantic roles & 50–950 ramp
primary
#4E7AF2
secondary
#ECDCB0
accent
#A703E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85