#2B4CB2#2B4CB2
#2B4CB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.167 H 266.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CB2 |
|---|---|
| RGB | rgb(43, 76, 178) |
| HSL | hsl(225, 61%, 43%) |
| HSV | hsv(225, 76%, 70%) |
| CMYK | cmyk(75.8%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(35.78, 24.91, -57.70) |
| CIE-LCH | lch(35.78, 62.85, 293.35°) |
| OKLab | oklab(45.56% -0.0111 -0.1665) |
| OKLCH | oklch(45.56% 0.167 266.2) |
| XYZ | xyz(11.6138, 8.8955, 43.2158) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 3.23
Blue Blue
#2242C7
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 6.15
Blue (survey)
#0343DF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CB2 #B2912B
analogous
#2B8FB2 #2B4CB2 #4D2BB2
triadic
#2B4CB2 #B22B4C #4CB22B
tetradic
#2B4CB2 #B22B8F #B2912B #2BB24D
square
#2B4CB2 #B22B8F #B2912B #2BB24D
split-complementary
#2B4CB2 #B24D2B #8FB22B
monochromatic
#13224F #1F3781 #2B4CB2 #486AD3 #7992DF
Accessibility & contrast
On white
7.56
#2B4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2B4CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CB2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CB2 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4cb2; /* rgb */ color: rgb(43, 76, 178); /* oklch */ color: oklch(45.6% 0.167 266.2);
Tailwind
colors: {
custom: {
50: '#787dca',
500: '#2b4cb2',
950: '#000000',
},
}SCSS
$custom: #2b4cb2; $custom-light: #787dca; $custom-dark: #000000;
JSON
{
"hex": "#2b4cb2",
"rgb": {
"r": 43,
"g": 76,
"b": 178
},
"hsl": {
"h": 225.333,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.45562,
"c": 0.16685,
"h": 266.2
},
"luminance": 0.08897
}Semantic roles & 50–950 ramp
primary
#2B4CB2
secondary
#C7B272
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82