#4072BB#4072BB
#4072BB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.126 H 257.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4072BB |
|---|---|
| RGB | rgb(64, 114, 187) |
| HSL | hsl(216, 49%, 49%) |
| HSV | hsv(216, 66%, 73%) |
| CMYK | cmyk(65.8%, 39%, 0%, 26.7%) |
| CIE-LAB | lab(47.89, 6.85, -43.45) |
| CIE-LCH | lch(47.89, 43.98, 278.96°) |
| OKLab | oklab(55.26% -0.0265 -0.1236) |
| OKLCH | oklch(55.26% 0.126 257.9) |
| XYZ | xyz(17.0981, 16.7108, 49.3285) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.39
Windows Blue
#3778BF
ΔE00 2.99
French Blue
#436BAD
ΔE00 3.12
Flat Blue
#3C73A8
ΔE00 3.17
Mid Blue
#276AB3
ΔE00 3.88
Bluish
#2976BB
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4072BB #BB8940
analogous
#40B0BB #4072BB #4C40BB
triadic
#4072BB #BB4072 #72BB40
tetradic
#4072BB #BB40B0 #BB8940 #40BB4C
square
#4072BB #BB40B0 #BB8940 #40BB4C
split-complementary
#4072BB #BB4C40 #B0BB40
monochromatic
#213A60 #30568D #4072BB #6C93CD #99B4DC
Accessibility & contrast
On white
4.84
#4072BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#4072BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4072BB
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4072BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4072BB | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4072bb; /* rgb */ color: rgb(64, 114, 187); /* oklch */ color: oklch(55.3% 0.126 257.9);
Tailwind
colors: {
custom: {
50: '#819ad0',
500: '#4072bb',
950: '#000000',
},
}SCSS
$custom: #4072bb; $custom-light: #819ad0; $custom-dark: #000000;
JSON
{
"hex": "#4072bb",
"rgb": {
"r": 64,
"g": 114,
"b": 187
},
"hsl": {
"h": 215.61,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.55264,
"c": 0.12642,
"h": 257.9
},
"luminance": 0.16712
}Semantic roles & 50–950 ramp
primary
#4072BB
secondary
#C8B18F
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82