#4E7CF2#4E7CF2
#4E7CF2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.184 H 265.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7CF2 |
|---|---|
| RGB | rgb(78, 124, 242) |
| HSL | hsl(223, 86%, 63%) |
| HSV | hsv(223, 68%, 95%) |
| CMYK | cmyk(67.8%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(54.49, 22.26, -64.00) |
| CIE-LCH | lch(54.49, 67.76, 289.18°) |
| OKLab | oklab(61.56% -0.015 -0.1836) |
| OKLCH | oklch(61.56% 0.184 265.3) |
| XYZ | xyz(26.3709, 22.4432, 86.9294) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.60
Dodger Blue
#3E82FC
ΔE00 3.00
Clear Blue
#247AFD
ΔE00 3.06
Soft Blue
#6488EA
ΔE00 4.16
Deep Sky Blue
#0D75F8
ΔE00 4.26
Azure
#007FFF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7CF2 #F2C44E
analogous
#4ECEF2 #4E7CF2 #724EF2
triadic
#4E7CF2 #F24E7C #7CF24E
tetradic
#4E7CF2 #F24ECE #F2C44E #4EF272
square
#4E7CF2 #F24ECE #F2C44E #4EF272
split-complementary
#4E7CF2 #F2724E #CEF24E
monochromatic
#0E3DB8 #1552EE #4E7CF2 #87A6F6 #C0D0FA
Accessibility & contrast
On white
3.83
#4E7CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#4E7CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7CF2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7CF2 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0098AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4e7cf2; /* rgb */ color: rgb(78, 124, 242); /* oklch */ color: oklch(61.6% 0.184 265.3);
Tailwind
colors: {
custom: {
50: '#91a1f7',
500: '#4e7cf2',
950: '#000000',
},
}SCSS
$custom: #4e7cf2; $custom-light: #91a1f7; $custom-dark: #000000;
JSON
{
"hex": "#4e7cf2",
"rgb": {
"r": 78,
"g": 124,
"b": 242
},
"hsl": {
"h": 223.171,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.61556,
"c": 0.18421,
"h": 265.3
},
"luminance": 0.22446
}Semantic roles & 50–950 ramp
primary
#4E7CF2
secondary
#ECDBB0
accent
#A403E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85