#4076C5#4076C5
#4076C5 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.8% C 0.135 H 258.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4076C5 |
|---|---|
| RGB | rgb(64, 118, 197) |
| HSL | hsl(216, 53%, 51%) |
| HSV | hsv(216, 68%, 77%) |
| CMYK | cmyk(67.5%, 40.1%, 0%, 22.7%) |
| CIE-LAB | lab(49.59, 7.93, -46.50) |
| CIE-LCH | lch(49.59, 47.17, 279.67°) |
| OKLab | oklab(56.76% -0.0283 -0.1325) |
| OKLCH | oklch(56.76% 0.135 258) |
| XYZ | xyz(18.6672, 18.0762, 55.3178) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.23
Medium Blue
#2C6FBB
ΔE00 3.51
Bluish
#2976BB
ΔE00 3.80
Flat Blue
#3C73A8
ΔE00 4.04
Cerulean Blue
#056EEE
ΔE00 4.66
French Blue
#436BAD
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4076C5 #C58F40
analogous
#40B8C5 #4076C5 #4C40C5
triadic
#4076C5 #C54076 #76C540
tetradic
#4076C5 #C540B8 #C58F40 #40C54C
square
#4076C5 #C540B8 #C58F40 #40C54C
split-complementary
#4076C5 #C54C40 #B8C540
monochromatic
#203E6A #2F5A99 #4076C5 #6F98D3 #9EB9E2
Accessibility & contrast
On white
4.55
#4076C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#4076C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4076C5
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4076C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4076C5 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#527DC8
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #4076c5; /* rgb */ color: rgb(64, 118, 197); /* oklch */ color: oklch(56.8% 0.135 258.0);
Tailwind
colors: {
custom: {
50: '#839dd7',
500: '#4076c5',
950: '#000000',
},
}SCSS
$custom: #4076c5; $custom-light: #839dd7; $custom-dark: #000000;
JSON
{
"hex": "#4076c5",
"rgb": {
"r": 64,
"g": 118,
"b": 197
},
"hsl": {
"h": 215.639,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.5676,
"c": 0.13549,
"h": 258
},
"luminance": 0.18078
}Semantic roles & 50–950 ramp
primary
#4076C5
secondary
#CEB693
accent
#A24BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83