#2B4AB6#2B4AB6
#2B4AB6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.175 H 266.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AB6 |
|---|---|
| RGB | rgb(43, 74, 182) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(76.4%, 59.3%, 0%, 28.6%) |
| CIE-LAB | lab(35.57, 27.74, -60.41) |
| CIE-LCH | lch(35.57, 66.47, 294.67°) |
| OKLab | oklab(45.5% -0.0096 -0.1745) |
| OKLCH | oklch(45.5% 0.175 266.9) |
| XYZ | xyz(11.8856, 8.7872, 45.3166) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.39
Blue Blue
#2242C7
ΔE00 3.43
Sapphire
#0F52BA
ΔE00 3.87
Blue (survey)
#0343DF
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AB6 #B6972B
analogous
#2B90B6 #2B4AB6 #522BB6
triadic
#2B4AB6 #B62B4A #4AB62B
tetradic
#2B4AB6 #B62B90 #B6972B #2BB652
square
#2B4AB6 #B62B90 #B6972B #2BB652
split-complementary
#2B4AB6 #B6522B #90B62B
monochromatic
#142253 #1F3684 #2B4AB6 #4A69D4 #7B92E0
Accessibility & contrast
On white
7.61
#2B4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2B4AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AB6
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AB6 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4ab6; /* rgb */ color: rgb(43, 74, 182); /* oklch */ color: oklch(45.5% 0.175 266.9);
Tailwind
colors: {
custom: {
50: '#797ccd',
500: '#2b4ab6',
950: '#000000',
},
}SCSS
$custom: #2b4ab6; $custom-light: #797ccd; $custom-dark: #000000;
JSON
{
"hex": "#2b4ab6",
"rgb": {
"r": 43,
"g": 74,
"b": 182
},
"hsl": {
"h": 226.619,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.45504,
"c": 0.17473,
"h": 266.9
},
"luminance": 0.08789
}Semantic roles & 50–950 ramp
primary
#2B4AB6
secondary
#C8B675
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82