#4076C7#4076C7
#4076C7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.138 H 258.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4076C7 |
|---|---|
| RGB | rgb(64, 118, 199) |
| HSL | hsl(216, 55%, 52%) |
| HSV | hsv(216, 68%, 78%) |
| CMYK | cmyk(67.8%, 40.7%, 0%, 22%) |
| CIE-LAB | lab(49.70, 8.64, -47.47) |
| CIE-LCH | lch(49.70, 48.25, 280.32°) |
| OKLab | oklab(56.88% -0.0278 -0.1353) |
| OKLCH | oklch(56.88% 0.138 258.4) |
| XYZ | xyz(18.8979, 18.1685, 56.5327) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.41
Medium Blue
#2C6FBB
ΔE00 3.68
Bluish
#2976BB
ΔE00 4.00
Flat Blue
#3C73A8
ΔE00 4.26
Cerulean Blue
#056EEE
ΔE00 4.52
Deep Sky Blue
#0D75F8
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4076C7 #C79140
analogous
#40BAC7 #4076C7 #4E40C7
triadic
#4076C7 #C74076 #76C740
tetradic
#4076C7 #C740BA #C79140 #40C74E
square
#4076C7 #C740BA #C79140 #40C74E
split-complementary
#4076C7 #C74E40 #BAC740
monochromatic
#203F6D #2E5A9C #4076C7 #6F98D5 #9FBAE3
Accessibility & contrast
On white
4.53
#4076C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#4076C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4076C7
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4076C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4076C7 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #4076c7; /* rgb */ color: rgb(64, 118, 199); /* oklch */ color: oklch(56.9% 0.138 258.4);
Tailwind
colors: {
custom: {
50: '#839dd8',
500: '#4076c7',
950: '#000000',
},
}SCSS
$custom: #4076c7; $custom-light: #839dd8; $custom-dark: #000000;
JSON
{
"hex": "#4076c7",
"rgb": {
"r": 64,
"g": 118,
"b": 199
},
"hsl": {
"h": 216,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.56882,
"c": 0.13818,
"h": 258.4
},
"luminance": 0.1817
}Semantic roles & 50–950 ramp
primary
#4076C7
secondary
#CFB794
accent
#A34ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83