#2B4AB4#2B4AB4
#2B4AB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.172 H 266.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AB4 |
|---|---|
| RGB | rgb(43, 74, 180) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.1%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.41, 26.99, -59.49) |
| CIE-LCH | lch(35.41, 65.33, 294.40°) |
| OKLab | oklab(45.33% -0.0096 -0.1718) |
| OKLCH | oklch(45.33% 0.172 266.8) |
| XYZ | xyz(11.6804, 8.7051, 44.2358) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Blue Blue
#2242C7
ΔE00 3.65
Sapphire
#0F52BA
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 5.49
Blue (survey)
#0343DF
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AB4 #B4952B
analogous
#2B8EB4 #2B4AB4 #502BB4
triadic
#2B4AB4 #B42B4A #4AB42B
tetradic
#2B4AB4 #B42B8E #B4952B #2BB450
square
#2B4AB4 #B42B8E #B4952B #2BB450
split-complementary
#2B4AB4 #B4502B #8EB42B
monochromatic
#132151 #1F3683 #2B4AB4 #4968D3 #7A91DF
Accessibility & contrast
On white
7.66
#2B4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2B4AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AB4
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AB4 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4ab4; /* rgb */ color: rgb(43, 74, 180); /* oklch */ color: oklch(45.3% 0.172 266.8);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2b4ab4',
950: '#000000',
},
}SCSS
$custom: #2b4ab4; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2b4ab4",
"rgb": {
"r": 43,
"g": 74,
"b": 180
},
"hsl": {
"h": 226.423,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.45333,
"c": 0.17204,
"h": 266.8
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#2B4AB4
secondary
#C7B473
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82