#2B4BB2#2B4BB2
#2B4BB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.168 H 266.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BB2 |
|---|---|
| RGB | rgb(43, 75, 178) |
| HSL | hsl(226, 61%, 43%) |
| HSV | hsv(226, 76%, 70%) |
| CMYK | cmyk(75.8%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(35.52, 25.57, -58.13) |
| CIE-LCH | lch(35.52, 63.51, 293.75°) |
| OKLab | oklab(45.36% -0.0104 -0.1678) |
| OKLCH | oklch(45.36% 0.168 266.5) |
| XYZ | xyz(11.5454, 8.7588, 43.1930) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Sapphire
#0F52BA
ΔE00 3.52
Blue Blue
#2242C7
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.81
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BB2 #B2922B
analogous
#2B8EB2 #2B4BB2 #4E2BB2
triadic
#2B4BB2 #B22B4B #4BB22B
tetradic
#2B4BB2 #B22B8E #B2922B #2BB24E
square
#2B4BB2 #B22B8E #B2922B #2BB24E
split-complementary
#2B4BB2 #B24E2B #8EB22B
monochromatic
#13214F #1F3681 #2B4BB2 #4869D3 #7991DF
Accessibility & contrast
On white
7.63
#2B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2B4BB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BB2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BB2 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4bb2; /* rgb */ color: rgb(43, 75, 178); /* oklch */ color: oklch(45.4% 0.168 266.5);
Tailwind
colors: {
custom: {
50: '#787cca',
500: '#2b4bb2',
950: '#000000',
},
}SCSS
$custom: #2b4bb2; $custom-light: #787cca; $custom-dark: #000000;
JSON
{
"hex": "#2b4bb2",
"rgb": {
"r": 43,
"g": 75,
"b": 178
},
"hsl": {
"h": 225.778,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.45362,
"c": 0.16809,
"h": 266.5
},
"luminance": 0.0876
}Semantic roles & 50–950 ramp
primary
#2B4BB2
secondary
#C7B372
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82