#2B4CB6#2B4CB6
#2B4CB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.172 H 266.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CB6 |
|---|---|
| RGB | rgb(43, 76, 182) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.4%, 58.2%, 0%, 28.6%) |
| CIE-LAB | lab(36.10, 26.43, -59.55) |
| CIE-LCH | lch(36.10, 65.15, 293.93°) |
| OKLab | oklab(45.9% -0.0109 -0.1719) |
| OKLCH | oklch(45.9% 0.172 266.4) |
| XYZ | xyz(12.0212, 9.0585, 45.3618) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.28
Cobalt
#0047AB
ΔE00 3.38
Blue Blue
#2242C7
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CB6 #B6952B
analogous
#2B92B6 #2B4CB6 #4F2BB6
triadic
#2B4CB6 #B62B4C #4CB62B
tetradic
#2B4CB6 #B62B92 #B6952B #2BB64F
square
#2B4CB6 #B62B92 #B6952B #2BB64F
split-complementary
#2B4CB6 #B64F2B #92B62B
monochromatic
#142353 #1F3784 #2B4CB6 #4A6BD4 #7B93E0
Accessibility & contrast
On white
7.47
#2B4CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2B4CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CB6
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CB6 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4cb6; /* rgb */ color: rgb(43, 76, 182); /* oklch */ color: oklch(45.9% 0.172 266.4);
Tailwind
colors: {
custom: {
50: '#797dcd',
500: '#2b4cb6',
950: '#000000',
},
}SCSS
$custom: #2b4cb6; $custom-light: #797dcd; $custom-dark: #000000;
JSON
{
"hex": "#2b4cb6",
"rgb": {
"r": 43,
"g": 76,
"b": 182
},
"hsl": {
"h": 225.755,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.45897,
"c": 0.17227,
"h": 266.4
},
"luminance": 0.0906
}Semantic roles & 50–950 ramp
primary
#2B4CB6
secondary
#C8B475
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82