#2B4BBA#2B4BBA
#2B4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.179 H 266.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BBA |
|---|---|
| RGB | rgb(43, 75, 186) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 77%, 73%) |
| CMYK | cmyk(76.9%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(36.16, 28.59, -61.81) |
| CIE-LCH | lch(36.16, 68.10, 294.82°) |
| OKLab | oklab(46.04% -0.0102 -0.1786) |
| OKLCH | oklch(46.04% 0.179 266.7) |
| XYZ | xyz(12.3722, 9.0895, 47.5473) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.31
Sapphire
#0F52BA
ΔE00 3.71
Cobalt
#0047AB
ΔE00 3.77
Blue (survey)
#0343DF
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BBA #BA9A2B
analogous
#2B93BA #2B4BBA #522BBA
triadic
#2B4BBA #BA2B4B #4BBA2B
tetradic
#2B4BBA #BA2B93 #BA9A2B #2BBA52
square
#2B4BBA #BA2B93 #BA9A2B #2BBA52
split-complementary
#2B4BBA #BA522B #93BA2B
monochromatic
#142357 #203788 #2B4BBA #4C6BD6 #7E94E1
Accessibility & contrast
On white
7.45
#2B4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2B4BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BBA
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BBA | 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)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4bba; /* rgb */ color: rgb(43, 75, 186); /* oklch */ color: oklch(46.0% 0.179 266.7);
Tailwind
colors: {
custom: {
50: '#7a7cd0',
500: '#2b4bba',
950: '#000000',
},
}SCSS
$custom: #2b4bba; $custom-light: #7a7cd0; $custom-dark: #000000;
JSON
{
"hex": "#2b4bba",
"rgb": {
"r": 43,
"g": 75,
"b": 186
},
"hsl": {
"h": 226.573,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.46041,
"c": 0.17886,
"h": 266.7
},
"luminance": 0.09091
}Semantic roles & 50–950 ramp
primary
#2B4BBA
secondary
#CAB777
accent
#C142E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82