#4071B7#4071B7
#4071B7 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.8% C 0.122 H 257.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4071B7 |
|---|---|
| RGB | rgb(64, 113, 183) |
| HSL | hsl(215, 48%, 48%) |
| HSV | hsv(215, 65%, 72%) |
| CMYK | cmyk(65%, 38.3%, 0%, 28.2%) |
| CIE-LAB | lab(47.39, 6.06, -41.93) |
| CIE-LCH | lch(47.39, 42.37, 278.22°) |
| OKLab | oklab(54.8% -0.0265 -0.1192) |
| OKLCH | oklch(54.8% 0.122 257.5) |
| XYZ | xyz(16.5637, 16.3175, 47.0673) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.19
French Blue
#436BAD
ΔE00 2.63
Flat Blue
#3C73A8
ΔE00 2.92
Windows Blue
#3778BF
ΔE00 3.30
Mid Blue
#276AB3
ΔE00 3.47
Bluish
#2976BB
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4071B7 #B78640
analogous
#40ACB7 #4071B7 #4A40B7
triadic
#4071B7 #B74071 #71B740
tetradic
#4071B7 #B740AC #B78640 #40B74A
square
#4071B7 #B740AC #B78640 #40B74A
split-complementary
#4071B7 #B74A40 #ACB740
monochromatic
#20395C #30558A #4071B7 #6992CB #97B3DB
Accessibility & contrast
On white
4.93
#4071B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4071B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4071B7
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4071B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4071B7 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#416BB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4071b7; /* rgb */ color: rgb(64, 113, 183); /* oklch */ color: oklch(54.8% 0.122 257.5);
Tailwind
colors: {
custom: {
50: '#8199cd',
500: '#4071b7',
950: '#000000',
},
}SCSS
$custom: #4071b7; $custom-light: #8199cd; $custom-dark: #000000;
JSON
{
"hex": "#4071b7",
"rgb": {
"r": 64,
"g": 113,
"b": 183
},
"hsl": {
"h": 215.294,
"s": 48.178,
"l": 48.431
},
"oklch": {
"l": 0.54801,
"c": 0.12209,
"h": 257.5
},
"luminance": 0.16319
}Semantic roles & 50–950 ramp
primary
#4071B7
secondary
#C6AE8D
accent
#A050D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82