#2B4CB7#2B4CB7
#2B4CB7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.174 H 266.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CB7 |
|---|---|
| RGB | rgb(43, 76, 183) |
| HSL | hsl(226, 62%, 44%) |
| HSV | hsv(226, 77%, 72%) |
| CMYK | cmyk(76.5%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(36.18, 26.80, -60.01) |
| CIE-LCH | lch(36.18, 65.73, 294.07°) |
| OKLab | oklab(45.98% -0.0109 -0.1733) |
| OKLCH | oklch(45.98% 0.174 266.4) |
| XYZ | xyz(12.1249, 9.1000, 45.9080) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Cobalt
#0047AB
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 3.86
Blue (survey)
#0343DF
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 6.12
Sapphire (survey)
#2138AB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CB7 #B7962B
analogous
#2B92B7 #2B4CB7 #502BB7
triadic
#2B4CB7 #B72B4C #4CB72B
tetradic
#2B4CB7 #B72B92 #B7962B #2BB750
square
#2B4CB7 #B72B92 #B7962B #2BB750
split-complementary
#2B4CB7 #B7502B #92B72B
monochromatic
#142354 #1F3785 #2B4CB7 #4B6BD5 #7C94E0
Accessibility & contrast
On white
7.45
#2B4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2B4CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CB7
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CB7 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4cb7; /* rgb */ color: rgb(43, 76, 183); /* oklch */ color: oklch(46.0% 0.174 266.4);
Tailwind
colors: {
custom: {
50: '#7a7dcd',
500: '#2b4cb7',
950: '#000000',
},
}SCSS
$custom: #2b4cb7; $custom-light: #7a7dcd; $custom-dark: #000000;
JSON
{
"hex": "#2b4cb7",
"rgb": {
"r": 43,
"g": 76,
"b": 183
},
"hsl": {
"h": 225.857,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.45981,
"c": 0.17361,
"h": 266.4
},
"luminance": 0.09101
}Semantic roles & 50–950 ramp
primary
#2B4CB7
secondary
#C9B575
accent
#BF43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82