#4C7FE4#4C7FE4
#4C7FE4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.163 H 262.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7FE4 |
|---|---|
| RGB | rgb(76, 127, 228) |
| HSL | hsl(220, 74%, 60%) |
| HSV | hsv(220, 67%, 89%) |
| CMYK | cmyk(66.7%, 44.3%, 0%, 10.6%) |
| CIE-LAB | lab(54.36, 15.23, -56.41) |
| CIE-LCH | lch(54.36, 58.43, 285.11°) |
| OKLab | oklab(61.16% -0.0214 -0.1613) |
| OKLCH | oklch(61.16% 0.163 262.5) |
| XYZ | xyz(24.5685, 22.3143, 76.3961) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.71
Lightish Blue
#3D7AFD
ΔE00 2.97
Clear Blue
#247AFD
ΔE00 3.13
Azure
#007FFF
ΔE00 3.84
Soft Blue
#6488EA
ΔE00 4.08
Deep Sky Blue
#0D75F8
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7FE4 #E4B14C
analogous
#4CCBE4 #4C7FE4 #654CE4
triadic
#4C7FE4 #E44C7F #7FE44C
tetradic
#4C7FE4 #E44CCB #E4B14C #4CE465
square
#4C7FE4 #E44CCB #E4B14C #4CE465
split-complementary
#4C7FE4 #E4654C #CBE44C
monochromatic
#18459E #205CD3 #4C7FE4 #81A5EC #B6CBF4
Accessibility & contrast
On white
3.84
#4C7FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#4C7FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7FE4
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7FE4 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4c7fe4; /* rgb */ color: rgb(76, 127, 228); /* oklch */ color: oklch(61.2% 0.163 262.5);
Tailwind
colors: {
custom: {
50: '#8da3ed',
500: '#4c7fe4',
950: '#000000',
},
}SCSS
$custom: #4c7fe4; $custom-light: #8da3ed; $custom-dark: #000000;
JSON
{
"hex": "#4c7fe4",
"rgb": {
"r": 76,
"g": 127,
"b": 228
},
"hsl": {
"h": 219.868,
"s": 73.786,
"l": 59.608
},
"oklch": {
"l": 0.61156,
"c": 0.16269,
"h": 262.5
},
"luminance": 0.22317
}Semantic roles & 50–950 ramp
primary
#4C7FE4
secondary
#E3D0A8
accent
#B237F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84