#4A7EC9#4A7EC9
#4A7EC9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.128 H 257.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7EC9 |
|---|---|
| RGB | rgb(74, 126, 201) |
| HSL | hsl(215, 54%, 54%) |
| HSV | hsv(215, 63%, 79%) |
| CMYK | cmyk(63.2%, 37.3%, 0%, 21.2%) |
| CIE-LAB | lab(52.50, 6.16, -44.14) |
| CIE-LCH | lch(52.50, 44.57, 277.95°) |
| OKLab | oklab(59.21% -0.0275 -0.1253) |
| OKLCH | oklch(59.21% 0.128 257.6) |
| XYZ | xyz(20.8237, 20.5926, 58.1244) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.49
Cool Blue
#4984B8
ΔE00 4.00
Off Blue
#5684AE
ΔE00 4.28
Steel Blue
#4682B4
ΔE00 4.32
Dusty Blue
#5A86AD
ΔE00 4.97
Clear Blue
#247AFD
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7EC9 #C9954A
analogous
#4ABEC9 #4A7EC9 #564AC9
triadic
#4A7EC9 #C94A7E #7EC94A
tetradic
#4A7EC9 #C94ABE #C9954A #4AC956
square
#4A7EC9 #C94ABE #C9954A #4AC956
split-complementary
#4A7EC9 #C9564A #BEC94A
monochromatic
#234576 #3160A5 #4A7EC9 #79A0D7 #A8C1E5
Accessibility & contrast
On white
4.10
#4A7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#4A7EC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7EC9
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7EC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7EC9 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D84CC
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4a7ec9; /* rgb */ color: rgb(74, 126, 201); /* oklch */ color: oklch(59.2% 0.128 257.6);
Tailwind
colors: {
custom: {
50: '#88a3da',
500: '#4a7ec9',
950: '#000000',
},
}SCSS
$custom: #4a7ec9; $custom-light: #88a3da; $custom-dark: #000000;
JSON
{
"hex": "#4a7ec9",
"rgb": {
"r": 74,
"g": 126,
"b": 201
},
"hsl": {
"h": 215.433,
"s": 54.043,
"l": 53.922
},
"oklch": {
"l": 0.5921,
"c": 0.1283,
"h": 257.6
},
"luminance": 0.20595
}Semantic roles & 50–950 ramp
primary
#4A7EC9
secondary
#D2BC9C
accent
#A14ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83