#2B4DBA#2B4DBA
#2B4DBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.176 H 266.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DBA |
|---|---|
| RGB | rgb(43, 77, 186) |
| HSL | hsl(226, 62%, 45%) |
| HSV | hsv(226, 77%, 73%) |
| CMYK | cmyk(76.9%, 58.6%, 0%, 27.1%) |
| CIE-LAB | lab(36.68, 27.28, -60.96) |
| CIE-LCH | lch(36.68, 66.78, 294.11°) |
| OKLab | oklab(46.43% -0.0115 -0.176) |
| OKLCH | oklch(46.43% 0.176 266.3) |
| XYZ | xyz(12.5100, 9.3651, 47.5932) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.15
Cobalt
#0047AB
ΔE00 3.80
Blue Blue
#2242C7
ΔE00 3.89
Blue (survey)
#0343DF
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 6.49
Sapphire (survey)
#2138AB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DBA #BA982B
analogous
#2B95BA #2B4DBA #502BBA
triadic
#2B4DBA #BA2B4D #4DBA2B
tetradic
#2B4DBA #BA2B95 #BA982B #2BBA50
square
#2B4DBA #BA2B95 #BA982B #2BBA50
split-complementary
#2B4DBA #BA502B #95BA2B
monochromatic
#142457 #203888 #2B4DBA #4C6DD6 #7E96E1
Accessibility & contrast
On white
7.31
#2B4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2B4DBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DBA
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DBA | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4dba; /* rgb */ color: rgb(43, 77, 186); /* oklch */ color: oklch(46.4% 0.176 266.3);
Tailwind
colors: {
custom: {
50: '#7a7ed0',
500: '#2b4dba',
950: '#000000',
},
}SCSS
$custom: #2b4dba; $custom-light: #7a7ed0; $custom-dark: #000000;
JSON
{
"hex": "#2b4dba",
"rgb": {
"r": 43,
"g": 77,
"b": 186
},
"hsl": {
"h": 225.734,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.46431,
"c": 0.17642,
"h": 266.3
},
"luminance": 0.09367
}Semantic roles & 50–950 ramp
primary
#2B4DBA
secondary
#CAB677
accent
#BF42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82