#4C7EE7#4C7EE7
#4C7EE7 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.168 H 263.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7EE7 |
|---|---|
| RGB | rgb(76, 126, 231) |
| HSL | hsl(221, 76%, 60%) |
| HSV | hsv(221, 67%, 91%) |
| CMYK | cmyk(67.1%, 45.5%, 0%, 9.4%) |
| CIE-LAB | lab(54.27, 16.89, -58.24) |
| CIE-LCH | lch(54.27, 60.64, 286.18°) |
| OKLab | oklab(61.14% -0.0199 -0.1667) |
| OKLCH | oklch(61.14% 0.168 263.2) |
| XYZ | xyz(24.8601, 22.2253, 78.5656) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.54
Dodger Blue
#3E82FC
ΔE00 2.70
Clear Blue
#247AFD
ΔE00 2.94
Azure
#007FFF
ΔE00 3.97
Deep Sky Blue
#0D75F8
ΔE00 4.07
Soft Blue
#6488EA
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7EE7 #E7B54C
analogous
#4CCCE7 #4C7EE7 #674CE7
triadic
#4C7EE7 #E74C7E #7EE74C
tetradic
#4C7EE7 #E74CCC #E7B54C #4CE767
square
#4C7EE7 #E74CCC #E7B54C #4CE767
split-complementary
#4C7EE7 #E7674C #CCE74C
monochromatic
#1643A3 #1D5AD9 #4C7EE7 #82A5EE #B8CCF5
Accessibility & contrast
On white
3.86
#4C7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#4C7EE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7EE7
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7EE7 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4989EB
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4c7ee7; /* rgb */ color: rgb(76, 126, 231); /* oklch */ color: oklch(61.1% 0.168 263.2);
Tailwind
colors: {
custom: {
50: '#8ea2ef',
500: '#4c7ee7',
950: '#000000',
},
}SCSS
$custom: #4c7ee7; $custom-light: #8ea2ef; $custom-dark: #000000;
JSON
{
"hex": "#4c7ee7",
"rgb": {
"r": 76,
"g": 126,
"b": 231
},
"hsl": {
"h": 220.645,
"s": 76.355,
"l": 60.196
},
"oklch": {
"l": 0.61141,
"c": 0.16786,
"h": 263.2
},
"luminance": 0.22228
}Semantic roles & 50–950 ramp
primary
#4C7EE7
secondary
#E5D2AA
accent
#970DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84