#4C71EF#4C71EF
#4C71EF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.194 H 267.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4C71EF |
|---|---|
| RGB | rgb(76, 113, 239) |
| HSL | hsl(226, 84%, 62%) |
| HSV | hsv(226, 68%, 94%) |
| CMYK | cmyk(68.2%, 52.7%, 0%, 6.3%) |
| CIE-LAB | lab(51.35, 27.71, -67.40) |
| CIE-LCH | lch(51.35, 72.87, 292.35°) |
| OKLab | oklab(59.09% -0.0077 -0.1938) |
| OKLCH | oklch(59.09% 0.194 267.7) |
| XYZ | xyz(24.4602, 19.5763, 84.1342) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.94
Royal Blue
#4169E1
ΔE00 3.55
Lightish Blue
#3D7AFD
ΔE00 3.92
Deep Sky Blue
#0D75F8
ΔE00 4.72
Cerulean Blue
#056EEE
ΔE00 4.79
Cornflower
#6A79F7
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C71EF #EFCA4C
analogous
#4CC3EF #4C71EF #784CEF
triadic
#4C71EF #EF4C71 #71EF4C
tetradic
#4C71EF #EF4CC3 #EFCA4C #4CEF78
square
#4C71EF #EF4CC3 #EFCA4C #4CEF78
split-complementary
#4C71EF #EF784C #C3EF4C
monochromatic
#1034B1 #1545E9 #4C71EF #849EF4 #BCCAF9
Accessibility & contrast
On white
4.27
#4C71EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#4C71EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C71EF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C71EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C71EF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1682F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4c71ef; /* rgb */ color: rgb(76, 113, 239); /* oklch */ color: oklch(59.1% 0.194 267.7);
Tailwind
colors: {
custom: {
50: '#9099f5',
500: '#4c71ef',
950: '#000000',
},
}SCSS
$custom: #4c71ef; $custom-light: #9099f5; $custom-dark: #000000;
JSON
{
"hex": "#4c71ef",
"rgb": {
"r": 76,
"g": 113,
"b": 239
},
"hsl": {
"h": 226.38,
"s": 83.59,
"l": 61.765
},
"oklch": {
"l": 0.59088,
"c": 0.19396,
"h": 267.7
},
"luminance": 0.19579
}Semantic roles & 50–950 ramp
primary
#4C71EF
secondary
#EADCAD
accent
#AE05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85