#4C7FE3#4C7FE3
#4C7FE3 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.161 H 262.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7FE3 |
|---|---|
| RGB | rgb(76, 127, 227) |
| HSL | hsl(220, 73%, 59%) |
| HSV | hsv(220, 67%, 89%) |
| CMYK | cmyk(66.5%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(54.30, 14.89, -55.94) |
| CIE-LCH | lch(54.30, 57.89, 284.90°) |
| OKLab | oklab(61.09% -0.0215 -0.1599) |
| OKLCH | oklch(61.09% 0.161 262.3) |
| XYZ | xyz(24.4301, 22.2589, 75.6671) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.79
Lightish Blue
#3D7AFD
ΔE00 3.06
Clear Blue
#247AFD
ΔE00 3.18
Azure
#007FFF
ΔE00 3.86
Soft Blue
#6488EA
ΔE00 4.14
Deep Sky Blue
#0D75F8
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7FE3 #E3B04C
analogous
#4CCBE3 #4C7FE3 #654CE3
triadic
#4C7FE3 #E34C7F #7FE34C
tetradic
#4C7FE3 #E34CCB #E3B04C #4CE365
square
#4C7FE3 #E34CCB #E3B04C #4CE365
split-complementary
#4C7FE3 #E3654C #CBE34C
monochromatic
#18459C #215CD1 #4C7FE3 #81A5EB #B6CBF4
Accessibility & contrast
On white
3.85
#4C7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#4C7FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7FE3
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7FE3 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 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)
#4E89E7
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4c7fe3; /* rgb */ color: rgb(76, 127, 227); /* oklch */ color: oklch(61.1% 0.161 262.3);
Tailwind
colors: {
custom: {
50: '#8da3ec',
500: '#4c7fe3',
950: '#000000',
},
}SCSS
$custom: #4c7fe3; $custom-light: #8da3ec; $custom-dark: #000000;
JSON
{
"hex": "#4c7fe3",
"rgb": {
"r": 76,
"g": 127,
"b": 227
},
"hsl": {
"h": 219.735,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.61092,
"c": 0.16135,
"h": 262.3
},
"luminance": 0.22261
}Semantic roles & 50–950 ramp
primary
#4C7FE3
secondary
#E3CFA8
accent
#B238F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84