#2B4CB4#2B4CB4
#2B4CB4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.170 H 266.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CB4 |
|---|---|
| RGB | rgb(43, 76, 180) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 71%) |
| CMYK | cmyk(76.1%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(35.94, 25.67, -58.63) |
| CIE-LCH | lch(35.94, 64.00, 293.65°) |
| OKLab | oklab(45.73% -0.011 -0.1692) |
| OKLCH | oklch(45.73% 0.17 266.3) |
| XYZ | xyz(11.8160, 8.9765, 44.2811) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Sapphire
#0F52BA
ΔE00 3.25
Blue Blue
#2242C7
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CB4 #B4932B
analogous
#2B90B4 #2B4CB4 #4E2BB4
triadic
#2B4CB4 #B42B4C #4CB42B
tetradic
#2B4CB4 #B42B90 #B4932B #2BB44E
square
#2B4CB4 #B42B90 #B4932B #2BB44E
split-complementary
#2B4CB4 #B44E2B #90B42B
monochromatic
#132251 #1F3783 #2B4CB4 #496AD3 #7A92DF
Accessibility & contrast
On white
7.51
#2B4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2B4CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CB4
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CB4 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4cb4; /* rgb */ color: rgb(43, 76, 180); /* oklch */ color: oklch(45.7% 0.170 266.3);
Tailwind
colors: {
custom: {
50: '#797dcb',
500: '#2b4cb4',
950: '#000000',
},
}SCSS
$custom: #2b4cb4; $custom-light: #797dcb; $custom-dark: #000000;
JSON
{
"hex": "#2b4cb4",
"rgb": {
"r": 43,
"g": 76,
"b": 180
},
"hsl": {
"h": 225.547,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.45729,
"c": 0.16957,
"h": 266.3
},
"luminance": 0.08978
}Semantic roles & 50–950 ramp
primary
#2B4CB4
secondary
#C7B373
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82