#4A7FEA#4A7FEA
#4A7FEA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.171 H 262.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FEA |
|---|---|
| RGB | rgb(74, 127, 234) |
| HSL | hsl(220, 79%, 60%) |
| HSV | hsv(220, 68%, 92%) |
| CMYK | cmyk(68.4%, 45.7%, 0%, 8.2%) |
| CIE-LAB | lab(54.63, 17.03, -59.33) |
| CIE-LCH | lch(54.63, 61.73, 286.01°) |
| OKLab | oklab(61.46% -0.022 -0.1699) |
| OKLCH | oklch(61.46% 0.171 262.6) |
| XYZ | xyz(25.2594, 22.5725, 80.8517) |
| Luminance | 0.2258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.19
Lightish Blue
#3D7AFD
ΔE00 2.47
Clear Blue
#247AFD
ΔE00 2.76
Azure
#007FFF
ΔE00 3.57
Soft Blue
#6488EA
ΔE00 3.97
Deep Sky Blue
#0D75F8
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FEA #EAB54A
analogous
#4ACFEA #4A7FEA #654AEA
triadic
#4A7FEA #EA4A7F #7FEA4A
tetradic
#4A7FEA #EA4ACF #EAB54A #4AEA65
square
#4A7FEA #EA4ACF #EAB54A #4AEA65
split-complementary
#4A7FEA #EA654A #CFEA4A
monochromatic
#1344A6 #1A5ADD #4A7FEA #81A6F0 #B8CDF7
Accessibility & contrast
On white
3.81
#4A7FEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#4A7FEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FEA
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FEA | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488BEE
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4a7fea; /* rgb */ color: rgb(74, 127, 234); /* oklch */ color: oklch(61.5% 0.171 262.6);
Tailwind
colors: {
custom: {
50: '#8ea3f1',
500: '#4a7fea',
950: '#000000',
},
}SCSS
$custom: #4a7fea; $custom-light: #8ea3f1; $custom-dark: #000000;
JSON
{
"hex": "#4a7fea",
"rgb": {
"r": 74,
"g": 127,
"b": 234
},
"hsl": {
"h": 220.125,
"s": 79.208,
"l": 60.392
},
"oklch": {
"l": 0.61455,
"c": 0.17133,
"h": 262.6
},
"luminance": 0.22575
}Semantic roles & 50–950 ramp
primary
#4A7FEA
secondary
#E6D2A9
accent
#960ADC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85