#2B4AB5#2B4AB5
#2B4AB5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.173 H 266.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AB5 |
|---|---|
| RGB | rgb(43, 74, 181) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(76.2%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(35.49, 27.37, -59.95) |
| CIE-LCH | lch(35.49, 65.90, 294.54°) |
| OKLab | oklab(45.42% -0.0096 -0.1731) |
| OKLCH | oklch(45.42% 0.173 266.8) |
| XYZ | xyz(11.7826, 8.7460, 44.7743) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AB5 #B5962B
analogous
#2B8FB5 #2B4AB5 #512BB5
triadic
#2B4AB5 #B52B4A #4AB52B
tetradic
#2B4AB5 #B52B8F #B5962B #2BB551
square
#2B4AB5 #B52B8F #B5962B #2BB551
split-complementary
#2B4AB5 #B5512B #8FB52B
monochromatic
#142252 #1F3684 #2B4AB5 #4968D4 #7B91E0
Accessibility & contrast
On white
7.64
#2B4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2B4AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AB5
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AB5 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4ab5; /* rgb */ color: rgb(43, 74, 181); /* oklch */ color: oklch(45.4% 0.173 266.8);
Tailwind
colors: {
custom: {
50: '#797ccc',
500: '#2b4ab5',
950: '#000000',
},
}SCSS
$custom: #2b4ab5; $custom-light: #797ccc; $custom-dark: #000000;
JSON
{
"hex": "#2b4ab5",
"rgb": {
"r": 43,
"g": 74,
"b": 181
},
"hsl": {
"h": 226.522,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.45418,
"c": 0.17339,
"h": 266.8
},
"luminance": 0.08747
}Semantic roles & 50–950 ramp
primary
#2B4AB5
secondary
#C8B574
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82