#4A7CEB#4A7CEB
#4A7CEB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.176 H 263.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7CEB |
|---|---|
| RGB | rgb(74, 124, 235) |
| HSL | hsl(221, 80%, 61%) |
| HSV | hsv(221, 69%, 92%) |
| CMYK | cmyk(68.5%, 47.2%, 0%, 7.8%) |
| CIE-LAB | lab(53.89, 19.22, -61.09) |
| CIE-LCH | lch(53.89, 64.04, 287.47°) |
| OKLab | oklab(60.9% -0.0192 -0.1751) |
| OKLCH | oklch(60.9% 0.176 263.7) |
| XYZ | xyz(25.0218, 21.8668, 81.4832) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.93
Clear Blue
#247AFD
ΔE00 2.64
Dodger Blue
#3E82FC
ΔE00 2.91
Deep Sky Blue
#0D75F8
ΔE00 3.66
Azure
#007FFF
ΔE00 4.12
Soft Blue
#6488EA
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7CEB #EBB94A
analogous
#4ACDEB #4A7CEB #684AEB
triadic
#4A7CEB #EB4A7C #7CEB4A
tetradic
#4A7CEB #EB4ACD #EBB94A #4AEB68
square
#4A7CEB #EB4ACD #EBB94A #4AEB68
split-complementary
#4A7CEB #EB684A #CDEB4A
monochromatic
#1341A8 #1956DF #4A7CEB #81A4F1 #B8CCF7
Accessibility & contrast
On white
3.91
#4A7CEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#4A7CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7CEB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7CEB | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4a7ceb; /* rgb */ color: rgb(74, 124, 235); /* oklch */ color: oklch(60.9% 0.176 263.7);
Tailwind
colors: {
custom: {
50: '#8ea1f2',
500: '#4a7ceb',
950: '#000000',
},
}SCSS
$custom: #4a7ceb; $custom-light: #8ea1f2; $custom-dark: #000000;
JSON
{
"hex": "#4a7ceb",
"rgb": {
"r": 74,
"g": 124,
"b": 235
},
"hsl": {
"h": 221.366,
"s": 80.1,
"l": 60.588
},
"oklch": {
"l": 0.60904,
"c": 0.17616,
"h": 263.7
},
"luminance": 0.21869
}Semantic roles & 50–950 ramp
primary
#4A7CEB
secondary
#E7D4AA
accent
#9B09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85