#2B4DB6#2B4DB6
#2B4DB6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.171 H 266.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DB6 |
|---|---|
| RGB | rgb(43, 77, 182) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 76%, 71%) |
| CMYK | cmyk(76.4%, 57.7%, 0%, 28.6%) |
| CIE-LAB | lab(36.36, 25.77, -59.12) |
| CIE-LCH | lch(36.36, 64.49, 293.55°) |
| OKLab | oklab(46.1% -0.0116 -0.1706) |
| OKLCH | oklch(46.1% 0.171 266.1) |
| XYZ | xyz(12.0907, 9.1974, 45.3850) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Cobalt
#0047AB
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.25
Blue (survey)
#0343DF
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 5.96
Sapphire (survey)
#2138AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DB6 #B6942B
analogous
#2B93B6 #2B4DB6 #4F2BB6
triadic
#2B4DB6 #B62B4D #4DB62B
tetradic
#2B4DB6 #B62B93 #B6942B #2BB64F
square
#2B4DB6 #B62B93 #B6942B #2BB64F
split-complementary
#2B4DB6 #B64F2B #93B62B
monochromatic
#142353 #1F3884 #2B4DB6 #4A6CD4 #7B94E0
Accessibility & contrast
On white
7.39
#2B4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2B4DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DB6
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DB6 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4db6; /* rgb */ color: rgb(43, 77, 182); /* oklch */ color: oklch(46.1% 0.171 266.1);
Tailwind
colors: {
custom: {
50: '#797ecd',
500: '#2b4db6',
950: '#000000',
},
}SCSS
$custom: #2b4db6; $custom-light: #797ecd; $custom-dark: #000000;
JSON
{
"hex": "#2b4db6",
"rgb": {
"r": 43,
"g": 77,
"b": 182
},
"hsl": {
"h": 225.324,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.46095,
"c": 0.17104,
"h": 266.1
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#2B4DB6
secondary
#C8B475
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82