#4C7EE4#4C7EE4
#4C7EE4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.164 H 262.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7EE4 |
|---|---|
| RGB | rgb(76, 126, 228) |
| HSL | hsl(220, 74%, 60%) |
| HSV | hsv(220, 67%, 89%) |
| CMYK | cmyk(66.7%, 44.7%, 0%, 10.6%) |
| CIE-LAB | lab(54.09, 15.85, -56.84) |
| CIE-LCH | lch(54.09, 59.01, 285.58°) |
| OKLab | oklab(60.95% -0.0204 -0.1626) |
| OKLCH | oklch(60.95% 0.164 262.8) |
| XYZ | xyz(24.4400, 22.0572, 76.3532) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.82
Dodger Blue
#3E82FC
ΔE00 2.91
Clear Blue
#247AFD
ΔE00 3.07
Azure
#007FFF
ΔE00 4.00
Deep Sky Blue
#0D75F8
ΔE00 4.08
Soft Blue
#6488EA
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7EE4 #E4B24C
analogous
#4CCAE4 #4C7EE4 #664CE4
triadic
#4C7EE4 #E44C7E #7EE44C
tetradic
#4C7EE4 #E44CCA #E4B24C #4CE466
square
#4C7EE4 #E44CCA #E4B24C #4CE466
split-complementary
#4C7EE4 #E4664C #CAE44C
monochromatic
#18449E #205BD3 #4C7EE4 #81A4EC #B6CBF4
Accessibility & contrast
On white
3.88
#4C7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#4C7EE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7EE4
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7EE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7EE4 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4c7ee4; /* rgb */ color: rgb(76, 126, 228); /* oklch */ color: oklch(60.9% 0.164 262.8);
Tailwind
colors: {
custom: {
50: '#8da2ed',
500: '#4c7ee4',
950: '#000000',
},
}SCSS
$custom: #4c7ee4; $custom-light: #8da2ed; $custom-dark: #000000;
JSON
{
"hex": "#4c7ee4",
"rgb": {
"r": 76,
"g": 126,
"b": 228
},
"hsl": {
"h": 220.263,
"s": 73.786,
"l": 59.608
},
"oklch": {
"l": 0.60947,
"c": 0.16385,
"h": 262.8
},
"luminance": 0.2206
}Semantic roles & 50–950 ramp
primary
#4C7EE4
secondary
#E3D0A8
accent
#B437F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84