#2B4ABA#2B4ABA
#2B4ABA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.180 H 267.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4ABA |
|---|---|
| RGB | rgb(43, 74, 186) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 77%, 73%) |
| CMYK | cmyk(76.9%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(35.90, 29.24, -62.23) |
| CIE-LCH | lch(35.90, 68.76, 295.17°) |
| OKLab | oklab(45.85% -0.0095 -0.1798) |
| OKLCH | oklch(45.85% 0.18 267) |
| XYZ | xyz(12.3049, 8.9549, 47.5248) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.80
Sapphire
#0F52BA
ΔE00 4.00
Blue (survey)
#0343DF
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4ABA #BA9B2B
analogous
#2B91BA #2B4ABA #542BBA
triadic
#2B4ABA #BA2B4A #4ABA2B
tetradic
#2B4ABA #BA2B91 #BA9B2B #2BBA54
square
#2B4ABA #BA2B91 #BA9B2B #2BBA54
split-complementary
#2B4ABA #BA542B #91BA2B
monochromatic
#142257 #203688 #2B4ABA #4C6AD6 #7E94E1
Accessibility & contrast
On white
7.52
#2B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2B4ABA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4ABA
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4ABA | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4aba; /* rgb */ color: rgb(43, 74, 186); /* oklch */ color: oklch(45.8% 0.180 267.0);
Tailwind
colors: {
custom: {
50: '#7a7cd0',
500: '#2b4aba',
950: '#000000',
},
}SCSS
$custom: #2b4aba; $custom-light: #7a7cd0; $custom-dark: #000000;
JSON
{
"hex": "#2b4aba",
"rgb": {
"r": 43,
"g": 74,
"b": 186
},
"hsl": {
"h": 226.993,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.45848,
"c": 0.18007,
"h": 267
},
"luminance": 0.08956
}Semantic roles & 50–950 ramp
primary
#2B4ABA
secondary
#CAB877
accent
#C242E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82