#4A7EE9#4A7EE9
#4A7EE9 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.171 H 262.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7EE9 |
|---|---|
| RGB | rgb(74, 126, 233) |
| HSL | hsl(220, 78%, 60%) |
| HSV | hsv(220, 68%, 91%) |
| CMYK | cmyk(68.2%, 45.9%, 0%, 8.6%) |
| CIE-LAB | lab(54.30, 17.29, -59.30) |
| CIE-LCH | lch(54.30, 61.77, 286.25°) |
| OKLab | oklab(61.18% -0.0213 -0.1698) |
| OKLCH | oklch(61.18% 0.171 262.9) |
| XYZ | xyz(24.9877, 22.2582, 80.0544) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.37
Dodger Blue
#3E82FC
ΔE00 2.48
Clear Blue
#247AFD
ΔE00 2.71
Azure
#007FFF
ΔE00 3.73
Deep Sky Blue
#0D75F8
ΔE00 3.91
Soft Blue
#6488EA
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7EE9 #E9B54A
analogous
#4ACEE9 #4A7EE9 #654AE9
triadic
#4A7EE9 #E94A7E #7EE94A
tetradic
#4A7EE9 #E94ACE #E9B54A #4AE965
square
#4A7EE9 #E94ACE #E9B54A #4AE965
split-complementary
#4A7EE9 #E9654A #CEE94A
monochromatic
#1443A5 #1B5ADB #4A7EE9 #81A5F0 #B7CCF6
Accessibility & contrast
On white
3.85
#4A7EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#4A7EE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7EE9
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7EE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7EE9 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478AED
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4a7ee9; /* rgb */ color: rgb(74, 126, 233); /* oklch */ color: oklch(61.2% 0.171 262.9);
Tailwind
colors: {
custom: {
50: '#8da2f1',
500: '#4a7ee9',
950: '#000000',
},
}SCSS
$custom: #4a7ee9; $custom-light: #8da2f1; $custom-dark: #000000;
JSON
{
"hex": "#4a7ee9",
"rgb": {
"r": 74,
"g": 126,
"b": 233
},
"hsl": {
"h": 220.377,
"s": 78.325,
"l": 60.196
},
"oklch": {
"l": 0.61183,
"c": 0.17116,
"h": 262.9
},
"luminance": 0.22261
}Semantic roles & 50–950 ramp
primary
#4A7EE9
secondary
#E6D2A9
accent
#970BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85