#4C7CE4#4C7CE4
#4C7CE4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.166 H 263.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7CE4 |
|---|---|
| RGB | rgb(76, 124, 228) |
| HSL | hsl(221, 74%, 60%) |
| HSV | hsv(221, 67%, 89%) |
| CMYK | cmyk(66.7%, 45.6%, 0%, 10.6%) |
| CIE-LAB | lab(53.55, 17.07, -57.71) |
| CIE-LCH | lch(53.55, 60.18, 286.48°) |
| OKLab | oklab(60.53% -0.0186 -0.1651) |
| OKLCH | oklch(60.53% 0.166 263.6) |
| XYZ | xyz(24.1868, 21.5509, 76.2688) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.64
Clear Blue
#247AFD
ΔE00 3.07
Dodger Blue
#3E82FC
ΔE00 3.39
Deep Sky Blue
#0D75F8
ΔE00 3.83
Azure
#007FFF
ΔE00 4.38
Soft Blue
#6488EA
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7CE4 #E4B44C
analogous
#4CC8E4 #4C7CE4 #684CE4
triadic
#4C7CE4 #E44C7C #7CE44C
tetradic
#4C7CE4 #E44CC8 #E4B44C #4CE468
square
#4C7CE4 #E44CC8 #E4B44C #4CE468
split-complementary
#4C7CE4 #E4684C #C8E44C
monochromatic
#18429E #2058D3 #4C7CE4 #81A3EC #B6CAF4
Accessibility & contrast
On white
3.95
#4C7CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#4C7CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7CE4
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7CE4 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4c7ce4; /* rgb */ color: rgb(76, 124, 228); /* oklch */ color: oklch(60.5% 0.166 263.6);
Tailwind
colors: {
custom: {
50: '#8da1ed',
500: '#4c7ce4',
950: '#000000',
},
}SCSS
$custom: #4c7ce4; $custom-light: #8da1ed; $custom-dark: #000000;
JSON
{
"hex": "#4c7ce4",
"rgb": {
"r": 76,
"g": 124,
"b": 228
},
"hsl": {
"h": 221.053,
"s": 73.786,
"l": 59.608
},
"oklch": {
"l": 0.60532,
"c": 0.16619,
"h": 263.6
},
"luminance": 0.21553
}Semantic roles & 50–950 ramp
primary
#4C7CE4
secondary
#E3D1A8
accent
#B637F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84