#4E7AE6#4E7AE6
#4E7AE6 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.171 H 265.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7AE6 |
|---|---|
| RGB | rgb(78, 122, 230) |
| HSL | hsl(223, 75%, 60%) |
| HSV | hsv(223, 66%, 90%) |
| CMYK | cmyk(66.1%, 47%, 0%, 9.8%) |
| CIE-LAB | lab(53.22, 19.32, -59.35) |
| CIE-LCH | lch(53.22, 62.41, 288.03°) |
| OKLab | oklab(60.35% -0.0148 -0.17) |
| OKLCH | oklch(60.35% 0.171 265) |
| XYZ | xyz(24.3794, 21.2496, 77.6644) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.51
Clear Blue
#247AFD
ΔE00 3.36
Deep Sky Blue
#0D75F8
ΔE00 3.92
Dodger Blue
#3E82FC
ΔE00 3.94
Cornflower Blue
#5170D7
ΔE00 4.09
Soft Blue
#6488EA
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7AE6 #E6BA4E
analogous
#4EC6E6 #4E7AE6 #6E4EE6
triadic
#4E7AE6 #E64E7A #7AE64E
tetradic
#4E7AE6 #E64EC6 #E6BA4E #4EE66E
square
#4E7AE6 #E64EC6 #E6BA4E #4EE66E
split-complementary
#4E7AE6 #E66E4E #C6E64E
monochromatic
#173FA3 #1F54D8 #4E7AE6 #84A2EE #B9CBF5
Accessibility & contrast
On white
4.00
#4E7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4E7AE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E7AE6
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7AE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E7AE6 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4286EA
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4e7ae6; /* rgb */ color: rgb(78, 122, 230); /* oklch */ color: oklch(60.3% 0.171 265.0);
Tailwind
colors: {
custom: {
50: '#8f9fee',
500: '#4e7ae6',
950: '#000000',
},
}SCSS
$custom: #4e7ae6; $custom-light: #8f9fee; $custom-dark: #000000;
JSON
{
"hex": "#4e7ae6",
"rgb": {
"r": 78,
"g": 122,
"b": 230
},
"hsl": {
"h": 222.632,
"s": 75.248,
"l": 60.392
},
"oklch": {
"l": 0.60346,
"c": 0.1706,
"h": 265
},
"luminance": 0.21252
}Semantic roles & 50–950 ramp
primary
#4E7AE6
secondary
#E5D4AB
accent
#9D0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84