#4E7DF2#4E7DF2
#4E7DF2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.183 H 265.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7DF2 |
|---|---|
| RGB | rgb(78, 125, 242) |
| HSL | hsl(223, 86%, 63%) |
| HSV | hsv(223, 68%, 95%) |
| CMYK | cmyk(67.8%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(54.76, 21.64, -63.57) |
| CIE-LCH | lch(54.76, 67.16, 288.80°) |
| OKLab | oklab(61.76% -0.0159 -0.1823) |
| OKLCH | oklch(61.76% 0.183 265) |
| XYZ | xyz(26.4969, 22.6951, 86.9714) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.67
Dodger Blue
#3E82FC
ΔE00 2.70
Clear Blue
#247AFD
ΔE00 3.02
Soft Blue
#6488EA
ΔE00 3.91
Deep Sky Blue
#0D75F8
ΔE00 4.34
Azure
#007FFF
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7DF2 #F2C34E
analogous
#4ECFF2 #4E7DF2 #714EF2
triadic
#4E7DF2 #F24E7D #7DF24E
tetradic
#4E7DF2 #F24ECF #F2C34E #4EF271
square
#4E7DF2 #F24ECF #F2C34E #4EF271
split-complementary
#4E7DF2 #F2714E #CFF24E
monochromatic
#0E3EB8 #1553EE #4E7DF2 #87A7F6 #C0D1FA
Accessibility & contrast
On white
3.79
#4E7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#4E7DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7DF2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7DF2 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#077CF0
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4e7df2; /* rgb */ color: rgb(78, 125, 242); /* oklch */ color: oklch(61.8% 0.183 265.0);
Tailwind
colors: {
custom: {
50: '#91a2f7',
500: '#4e7df2',
950: '#000000',
},
}SCSS
$custom: #4e7df2; $custom-light: #91a2f7; $custom-dark: #000000;
JSON
{
"hex": "#4e7df2",
"rgb": {
"r": 78,
"g": 125,
"b": 242
},
"hsl": {
"h": 222.805,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.61757,
"c": 0.18303,
"h": 265
},
"luminance": 0.22698
}Semantic roles & 50–950 ramp
primary
#4E7DF2
secondary
#ECDBB0
accent
#A303E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85