#4C7AF4#4C7AF4
#4C7AF4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.190 H 265.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7AF4 |
|---|---|
| RGB | rgb(76, 122, 244) |
| HSL | hsl(224, 88%, 63%) |
| HSV | hsv(224, 69%, 96%) |
| CMYK | cmyk(68.9%, 50%, 0%, 4.3%) |
| CIE-LAB | lab(54.01, 23.90, -65.89) |
| CIE-LCH | lch(54.01, 70.09, 289.93°) |
| OKLab | oklab(61.21% -0.0147 -0.1892) |
| OKLCH | oklch(61.21% 0.19 265.5) |
| XYZ | xyz(26.2634, 21.9846, 88.4297) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.43
Clear Blue
#247AFD
ΔE00 3.05
Dodger Blue
#3E82FC
ΔE00 3.47
Deep Sky Blue
#0D75F8
ΔE00 4.02
Cornflower
#6A79F7
ΔE00 4.59
Soft Blue
#6488EA
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7AF4 #F4C64C
analogous
#4CCEF4 #4C7AF4 #724CF4
triadic
#4C7AF4 #F44C7A #7AF44C
tetradic
#4C7AF4 #F44CCE #F4C64C #4CF472
square
#4C7AF4 #F44CCE #F4C64C #4CF472
split-complementary
#4C7AF4 #F4724C #CEF44C
monochromatic
#0B3BBA #124FF0 #4C7AF4 #86A5F8 #BFD0FB
Accessibility & contrast
On white
3.89
#4C7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#4C7AF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7AF4
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7AF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7AF4 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3189F8
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4c7af4; /* rgb */ color: rgb(76, 122, 244); /* oklch */ color: oklch(61.2% 0.190 265.5);
Tailwind
colors: {
custom: {
50: '#909ff8',
500: '#4c7af4',
950: '#000000',
},
}SCSS
$custom: #4c7af4; $custom-light: #909ff8; $custom-dark: #000000;
JSON
{
"hex": "#4c7af4",
"rgb": {
"r": 76,
"g": 122,
"b": 244
},
"hsl": {
"h": 223.571,
"s": 88.421,
"l": 62.745
},
"oklch": {
"l": 0.61205,
"c": 0.18981,
"h": 265.5
},
"luminance": 0.21987
}Semantic roles & 50–950 ramp
primary
#4C7AF4
secondary
#ECDCB0
accent
#A600E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85