#2B4BB7#2B4BB7
#2B4BB7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.175 H 266.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BB7 |
|---|---|
| RGB | rgb(43, 75, 183) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 72%) |
| CMYK | cmyk(76.5%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(35.91, 27.46, -60.44) |
| CIE-LCH | lch(35.91, 66.39, 294.44°) |
| OKLab | oklab(45.78% -0.0102 -0.1745) |
| OKLCH | oklch(45.78% 0.175 266.6) |
| XYZ | xyz(12.0566, 8.9633, 45.8852) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 3.59
Sapphire
#0F52BA
ΔE00 3.60
Blue (survey)
#0343DF
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 5.84
Cobalt (survey)
#1E488F
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BB7 #B7972B
analogous
#2B91B7 #2B4BB7 #512BB7
triadic
#2B4BB7 #B72B4B #4BB72B
tetradic
#2B4BB7 #B72B91 #B7972B #2BB751
square
#2B4BB7 #B72B91 #B7972B #2BB751
split-complementary
#2B4BB7 #B7512B #91B72B
monochromatic
#142254 #1F3785 #2B4BB7 #4B6AD5 #7C93E0
Accessibility & contrast
On white
7.52
#2B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2B4BB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BB7
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BB7 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4bb7; /* rgb */ color: rgb(43, 75, 183); /* oklch */ color: oklch(45.8% 0.175 266.6);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2b4bb7',
950: '#000000',
},
}SCSS
$custom: #2b4bb7; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2b4bb7",
"rgb": {
"r": 43,
"g": 75,
"b": 183
},
"hsl": {
"h": 226.286,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.45784,
"c": 0.17485,
"h": 266.6
},
"luminance": 0.08965
}Semantic roles & 50–950 ramp
primary
#2B4BB7
secondary
#C9B675
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82