#4A7CE4#4A7CE4
#4A7CE4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.4% C 0.167 H 263.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CE4 |
|---|---|
| RGB | rgb(74, 124, 228) |
| HSL | hsl(221, 74%, 59%) |
| HSV | hsv(221, 68%, 89%) |
| CMYK | cmyk(67.5%, 45.6%, 0%, 10.6%) |
| CIE-LAB | lab(53.46, 16.76, -57.86) |
| CIE-LCH | lch(53.46, 60.24, 286.16°) |
| OKLab | oklab(60.44% -0.0202 -0.1656) |
| OKLCH | oklch(60.44% 0.167 263) |
| XYZ | xyz(24.0303, 21.4702, 76.2615) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.65
Clear Blue
#247AFD
ΔE00 2.91
Dodger Blue
#3E82FC
ΔE00 3.31
Deep Sky Blue
#0D75F8
ΔE00 3.65
Azure
#007FFF
ΔE00 4.17
Soft Blue
#6488EA
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CE4 #E4B24A
analogous
#4AC9E4 #4A7CE4 #654AE4
triadic
#4A7CE4 #E44A7C #7CE44A
tetradic
#4A7CE4 #E44AC9 #E4B24A #4AE465
square
#4A7CE4 #E44AC9 #E4B24A #4AE465
split-complementary
#4A7CE4 #E4654A #C9E44A
monochromatic
#17429C #1F59D2 #4A7CE4 #7FA3EC #B5C9F4
Accessibility & contrast
On white
3.97
#4A7CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#4A7CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CE4
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CE4 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4a7ce4; /* rgb */ color: rgb(74, 124, 228); /* oklch */ color: oklch(60.4% 0.167 263.0);
Tailwind
colors: {
custom: {
50: '#8da1ed',
500: '#4a7ce4',
950: '#000000',
},
}SCSS
$custom: #4a7ce4; $custom-light: #8da1ed; $custom-dark: #000000;
JSON
{
"hex": "#4a7ce4",
"rgb": {
"r": 74,
"g": 124,
"b": 228
},
"hsl": {
"h": 220.519,
"s": 74.038,
"l": 59.216
},
"oklch": {
"l": 0.60442,
"c": 0.16684,
"h": 263
},
"luminance": 0.21473
}Semantic roles & 50–950 ramp
primary
#4A7CE4
secondary
#E3CFA7
accent
#B437F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84