#4A7FE6#4A7FE6
#4A7FE6 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.166 H 262.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FE6 |
|---|---|
| RGB | rgb(74, 127, 230) |
| HSL | hsl(220, 76%, 60%) |
| HSV | hsv(220, 68%, 90%) |
| CMYK | cmyk(67.8%, 44.8%, 0%, 9.8%) |
| CIE-LAB | lab(54.39, 15.62, -57.48) |
| CIE-LCH | lch(54.39, 59.57, 285.21°) |
| OKLab | oklab(61.2% -0.0226 -0.1645) |
| OKLCH | oklch(61.2% 0.166 262.2) |
| XYZ | xyz(24.6913, 22.3453, 77.8594) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.49
Lightish Blue
#3D7AFD
ΔE00 2.83
Clear Blue
#247AFD
ΔE00 2.91
Azure
#007FFF
ΔE00 3.59
Deep Sky Blue
#0D75F8
ΔE00 4.10
Soft Blue
#6488EA
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FE6 #E6B14A
analogous
#4ACDE6 #4A7FE6 #634AE6
triadic
#4A7FE6 #E64A7F #7FE64A
tetradic
#4A7FE6 #E64ACD #E6B14A #4AE663
square
#4A7FE6 #E64ACD #E6B14A #4AE663
split-complementary
#4A7FE6 #E6634A #CDE64A
monochromatic
#1645A0 #1D5CD5 #4A7FE6 #80A5ED #B6CBF5
Accessibility & contrast
On white
3.84
#4A7FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#4A7FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FE6
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FE6 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8AEA
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4a7fe6; /* rgb */ color: rgb(74, 127, 230); /* oklch */ color: oklch(61.2% 0.166 262.2);
Tailwind
colors: {
custom: {
50: '#8da3ee',
500: '#4a7fe6',
950: '#000000',
},
}SCSS
$custom: #4a7fe6; $custom-light: #8da3ee; $custom-dark: #000000;
JSON
{
"hex": "#4a7fe6",
"rgb": {
"r": 74,
"g": 127,
"b": 230
},
"hsl": {
"h": 219.615,
"s": 75.728,
"l": 59.608
},
"oklch": {
"l": 0.61196,
"c": 0.16601,
"h": 262.2
},
"luminance": 0.22348
}Semantic roles & 50–950 ramp
primary
#4A7FE6
secondary
#E4D0A8
accent
#B235F2
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84