#4C7EC9#4C7EC9
#4C7EC9 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.128 H 258.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7EC9 |
|---|---|
| RGB | rgb(76, 126, 201) |
| HSL | hsl(216, 54%, 54%) |
| HSV | hsv(216, 62%, 79%) |
| CMYK | cmyk(62.2%, 37.3%, 0%, 21.2%) |
| CIE-LAB | lab(52.59, 6.53, -43.99) |
| CIE-LCH | lch(52.59, 44.47, 278.44°) |
| OKLab | oklab(59.3% -0.0258 -0.1249) |
| OKLCH | oklch(59.3% 0.128 258.3) |
| XYZ | xyz(20.9802, 20.6733, 58.1317) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.73
Cool Blue
#4984B8
ΔE00 4.20
Off Blue
#5684AE
ΔE00 4.33
Steel Blue
#4682B4
ΔE00 4.53
Dusty Blue
#5A86AD
ΔE00 4.99
Clear Blue
#247AFD
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7EC9 #C9974C
analogous
#4CBDC9 #4C7EC9 #594CC9
triadic
#4C7EC9 #C94C7E #7EC94C
tetradic
#4C7EC9 #C94CBD #C9974C #4CC959
square
#4C7EC9 #C94CBD #C9974C #4CC959
split-complementary
#4C7EC9 #C9594C #BDC94C
monochromatic
#244577 #3260A6 #4C7EC9 #7BA0D7 #AAC2E5
Accessibility & contrast
On white
4.09
#4C7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#4C7EC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7EC9
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7EC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7EC9 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E84CC
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #4c7ec9; /* rgb */ color: rgb(76, 126, 201); /* oklch */ color: oklch(59.3% 0.128 258.3);
Tailwind
colors: {
custom: {
50: '#89a3da',
500: '#4c7ec9',
950: '#000000',
},
}SCSS
$custom: #4c7ec9; $custom-light: #89a3da; $custom-dark: #000000;
JSON
{
"hex": "#4c7ec9",
"rgb": {
"r": 76,
"g": 126,
"b": 201
},
"hsl": {
"h": 216,
"s": 53.648,
"l": 54.314
},
"oklch": {
"l": 0.59304,
"c": 0.12751,
"h": 258.3
},
"luminance": 0.20675
}Semantic roles & 50–950 ramp
primary
#4C7EC9
secondary
#D3BE9E
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83