#2B4BB4#2B4BB4
#2B4BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 266.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BB4 |
|---|---|
| RGB | rgb(43, 75, 180) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.1%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(35.67, 26.33, -59.06) |
| CIE-LCH | lch(35.67, 64.66, 294.03°) |
| OKLab | oklab(45.53% -0.0103 -0.1705) |
| OKLCH | oklch(45.53% 0.171 266.5) |
| XYZ | xyz(11.7477, 8.8397, 44.2583) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.19
Sapphire
#0F52BA
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 3.90
Cobalt (survey)
#1E488F
ΔE00 5.77
Sapphire (survey)
#2138AB
ΔE00 5.81
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BB4 #B4942B
analogous
#2B8FB4 #2B4BB4 #4F2BB4
triadic
#2B4BB4 #B42B4B #4BB42B
tetradic
#2B4BB4 #B42B8F #B4942B #2BB44F
square
#2B4BB4 #B42B8F #B4942B #2BB44F
split-complementary
#2B4BB4 #B44F2B #8FB42B
monochromatic
#132251 #1F3683 #2B4BB4 #4969D3 #7A92DF
Accessibility & contrast
On white
7.59
#2B4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2B4BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BB4
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BB4 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4bb4; /* rgb */ color: rgb(43, 75, 180); /* oklch */ color: oklch(45.5% 0.171 266.5);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2b4bb4',
950: '#000000',
},
}SCSS
$custom: #2b4bb4; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2b4bb4",
"rgb": {
"r": 43,
"g": 75,
"b": 180
},
"hsl": {
"h": 225.985,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.4553,
"c": 0.1708,
"h": 266.5
},
"luminance": 0.08841
}Semantic roles & 50–950 ramp
primary
#2B4BB4
secondary
#C7B473
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82