#2B4DB9#2B4DB9
#2B4DB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.175 H 266.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DB9 |
|---|---|
| RGB | rgb(43, 77, 185) |
| HSL | hsl(226, 62%, 45%) |
| HSV | hsv(226, 77%, 73%) |
| CMYK | cmyk(76.8%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(36.60, 26.90, -60.50) |
| CIE-LCH | lch(36.60, 66.21, 293.97°) |
| OKLab | oklab(46.35% -0.0115 -0.1747) |
| OKLCH | oklch(46.35% 0.175 266.2) |
| XYZ | xyz(12.4040, 9.3227, 47.0353) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.10
Cobalt
#0047AB
ΔE00 3.70
Blue Blue
#2242C7
ΔE00 3.98
Blue (survey)
#0343DF
ΔE00 5.53
Cobalt (survey)
#1E488F
ΔE00 6.36
Sapphire (survey)
#2138AB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DB9 #B9972B
analogous
#2B94B9 #2B4DB9 #502BB9
triadic
#2B4DB9 #B92B4D #4DB92B
tetradic
#2B4DB9 #B92B94 #B9972B #2BB950
square
#2B4DB9 #B92B94 #B9972B #2BB950
split-complementary
#2B4DB9 #B9502B #94B92B
monochromatic
#142456 #1F3887 #2B4DB9 #4C6DD5 #7E95E1
Accessibility & contrast
On white
7.33
#2B4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2B4DB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DB9
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DB9 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4db9; /* rgb */ color: rgb(43, 77, 185); /* oklch */ color: oklch(46.3% 0.175 266.2);
Tailwind
colors: {
custom: {
50: '#7a7ecf',
500: '#2b4db9',
950: '#000000',
},
}SCSS
$custom: #2b4db9; $custom-light: #7a7ecf; $custom-dark: #000000;
JSON
{
"hex": "#2b4db9",
"rgb": {
"r": 43,
"g": 77,
"b": 185
},
"hsl": {
"h": 225.634,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.46346,
"c": 0.17508,
"h": 266.2
},
"luminance": 0.09324
}Semantic roles & 50–950 ramp
primary
#2B4DB9
secondary
#C9B676
accent
#BE42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82