#2B4BB6#2B4BB6
#2B4BB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.173 H 266.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BB6 |
|---|---|
| RGB | rgb(43, 75, 182) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.4%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(35.83, 27.08, -59.98) |
| CIE-LCH | lch(35.83, 65.81, 294.30°) |
| OKLab | oklab(45.7% -0.0102 -0.1732) |
| OKLCH | oklch(45.7% 0.174 266.6) |
| XYZ | xyz(11.9529, 8.9218, 45.3390) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.37
Sapphire
#0F52BA
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 3.69
Blue (survey)
#0343DF
ΔE00 5.59
Sapphire (survey)
#2138AB
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BB6 #B6962B
analogous
#2B91B6 #2B4BB6 #512BB6
triadic
#2B4BB6 #B62B4B #4BB62B
tetradic
#2B4BB6 #B62B91 #B6962B #2BB651
square
#2B4BB6 #B62B91 #B6962B #2BB651
split-complementary
#2B4BB6 #B6512B #91B62B
monochromatic
#142253 #1F3784 #2B4BB6 #4A6AD4 #7B93E0
Accessibility & contrast
On white
7.54
#2B4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2B4BB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BB6
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BB6 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4bb6; /* rgb */ color: rgb(43, 75, 182); /* oklch */ color: oklch(45.7% 0.173 266.6);
Tailwind
colors: {
custom: {
50: '#797ccd',
500: '#2b4bb6',
950: '#000000',
},
}SCSS
$custom: #2b4bb6; $custom-light: #797ccd; $custom-dark: #000000;
JSON
{
"hex": "#2b4bb6",
"rgb": {
"r": 43,
"g": 75,
"b": 182
},
"hsl": {
"h": 226.187,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.45699,
"c": 0.1735,
"h": 266.6
},
"luminance": 0.08923
}Semantic roles & 50–950 ramp
primary
#2B4BB6
secondary
#C8B575
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82