#4C7FE1#4C7FE1
#4C7FE1 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.159 H 262.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7FE1 |
|---|---|
| RGB | rgb(76, 127, 225) |
| HSL | hsl(219, 71%, 59%) |
| HSV | hsv(219, 66%, 88%) |
| CMYK | cmyk(66.2%, 43.6%, 0%, 11.8%) |
| CIE-LAB | lab(54.18, 14.19, -55.01) |
| CIE-LCH | lch(54.18, 56.81, 284.47°) |
| OKLab | oklab(60.97% -0.0219 -0.1572) |
| OKLCH | oklch(60.97% 0.159 262.1) |
| XYZ | xyz(24.1557, 22.1491, 74.2218) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.96
Lightish Blue
#3D7AFD
ΔE00 3.25
Clear Blue
#247AFD
ΔE00 3.29
Azure
#007FFF
ΔE00 3.90
Soft Blue
#6488EA
ΔE00 4.26
Deep Sky Blue
#0D75F8
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7FE1 #E1AE4C
analogous
#4CCAE1 #4C7FE1 #644CE1
triadic
#4C7FE1 #E14C7F #7FE14C
tetradic
#4C7FE1 #E14CCA #E1AE4C #4CE164
square
#4C7FE1 #E14CCA #E1AE4C #4CE164
split-complementary
#4C7FE1 #E1644C #CAE14C
monochromatic
#1A4599 #225DCD #4C7FE1 #80A4EA #B5CAF3
Accessibility & contrast
On white
3.87
#4C7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#4C7FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7FE1
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7FE1 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#377BDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4c7fe1; /* rgb */ color: rgb(76, 127, 225); /* oklch */ color: oklch(61.0% 0.159 262.1);
Tailwind
colors: {
custom: {
50: '#8da3eb',
500: '#4c7fe1',
950: '#000000',
},
}SCSS
$custom: #4c7fe1; $custom-light: #8da3eb; $custom-dark: #000000;
JSON
{
"hex": "#4c7fe1",
"rgb": {
"r": 76,
"g": 127,
"b": 225
},
"hsl": {
"h": 219.463,
"s": 71.292,
"l": 59.02
},
"oklch": {
"l": 0.60966,
"c": 0.15867,
"h": 262.1
},
"luminance": 0.22151
}Semantic roles & 50–950 ramp
primary
#4C7FE1
secondary
#E2CEA7
accent
#B03AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84