#2B4AB3#2B4AB3
#2B4AB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.171 H 266.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AB3 |
|---|---|
| RGB | rgb(43, 74, 179) |
| HSL | hsl(226, 61%, 44%) |
| HSV | hsv(226, 76%, 70%) |
| CMYK | cmyk(76%, 58.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.33, 26.61, -59.03) |
| CIE-LCH | lch(35.33, 64.75, 294.27°) |
| OKLab | oklab(45.25% -0.0096 -0.1704) |
| OKLCH | oklch(45.25% 0.171 266.8) |
| XYZ | xyz(11.5789, 8.6645, 43.7013) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 5.48
Cobalt (survey)
#1E488F
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AB3 #B3942B
analogous
#2B8EB3 #2B4AB3 #502BB3
triadic
#2B4AB3 #B32B4A #4AB32B
tetradic
#2B4AB3 #B32B8E #B3942B #2BB350
square
#2B4AB3 #B32B8E #B3942B #2BB350
split-complementary
#2B4AB3 #B3502B #8EB32B
monochromatic
#132150 #1F3682 #2B4AB3 #4868D3 #7991DF
Accessibility & contrast
On white
7.68
#2B4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2B4AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AB3
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AB3 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4ab3; /* rgb */ color: rgb(43, 74, 179); /* oklch */ color: oklch(45.2% 0.171 266.8);
Tailwind
colors: {
custom: {
50: '#797ccb',
500: '#2b4ab3',
950: '#000000',
},
}SCSS
$custom: #2b4ab3; $custom-light: #797ccb; $custom-dark: #000000;
JSON
{
"hex": "#2b4ab3",
"rgb": {
"r": 43,
"g": 74,
"b": 179
},
"hsl": {
"h": 226.324,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.45248,
"c": 0.17068,
"h": 266.8
},
"luminance": 0.08666
}Semantic roles & 50–950 ramp
primary
#2B4AB3
secondary
#C7B473
accent
#C043E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82