#2B4CBA#2B4CBA
#2B4CBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.178 H 266.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CBA |
|---|---|
| RGB | rgb(43, 76, 186) |
| HSL | hsl(226, 62%, 45%) |
| HSV | hsv(226, 77%, 73%) |
| CMYK | cmyk(76.9%, 59.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.42, 27.93, -61.39) |
| CIE-LCH | lch(36.42, 67.44, 294.47°) |
| OKLab | oklab(46.24% -0.0108 -0.1773) |
| OKLCH | oklch(46.24% 0.178 266.5) |
| XYZ | xyz(12.4405, 9.2262, 47.5700) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 3.60
Cobalt
#0047AB
ΔE00 3.77
Blue (survey)
#0343DF
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CBA #BA992B
analogous
#2B93BA #2B4CBA #522BBA
triadic
#2B4CBA #BA2B4C #4CBA2B
tetradic
#2B4CBA #BA2B93 #BA992B #2BBA52
square
#2B4CBA #BA2B93 #BA992B #2BBA52
split-complementary
#2B4CBA #BA522B #93BA2B
monochromatic
#142357 #203888 #2B4CBA #4C6CD6 #7E95E1
Accessibility & contrast
On white
7.38
#2B4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2B4CBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CBA
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CBA | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4cba; /* rgb */ color: rgb(43, 76, 186); /* oklch */ color: oklch(46.2% 0.178 266.5);
Tailwind
colors: {
custom: {
50: '#7a7dd0',
500: '#2b4cba',
950: '#000000',
},
}SCSS
$custom: #2b4cba; $custom-light: #7a7dd0; $custom-dark: #000000;
JSON
{
"hex": "#2b4cba",
"rgb": {
"r": 43,
"g": 76,
"b": 186
},
"hsl": {
"h": 226.154,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.46235,
"c": 0.17764,
"h": 266.5
},
"luminance": 0.09228
}Semantic roles & 50–950 ramp
primary
#2B4CBA
secondary
#CAB777
accent
#C042E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82