#2B4AB7#2B4AB7
#2B4AB7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.176 H 266.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AB7 |
|---|---|
| RGB | rgb(43, 74, 183) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 77%, 72%) |
| CMYK | cmyk(76.5%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(35.65, 28.12, -60.87) |
| CIE-LCH | lch(35.65, 67.05, 294.80°) |
| OKLab | oklab(45.59% -0.0095 -0.1758) |
| OKLCH | oklch(45.59% 0.176 266.9) |
| XYZ | xyz(11.9893, 8.8287, 45.8628) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.32
Cobalt
#0047AB
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.90
Blue (survey)
#0343DF
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AB7 #B7982B
analogous
#2B90B7 #2B4AB7 #522BB7
triadic
#2B4AB7 #B72B4A #4AB72B
tetradic
#2B4AB7 #B72B90 #B7982B #2BB752
square
#2B4AB7 #B72B90 #B7982B #2BB752
split-complementary
#2B4AB7 #B7522B #90B72B
monochromatic
#142254 #1F3685 #2B4AB7 #4B69D5 #7C92E0
Accessibility & contrast
On white
7.59
#2B4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2B4AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AB7
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AB7 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4ab7; /* rgb */ color: rgb(43, 74, 183); /* oklch */ color: oklch(45.6% 0.176 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2b4ab7',
950: '#000000',
},
}SCSS
$custom: #2b4ab7; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2b4ab7",
"rgb": {
"r": 43,
"g": 74,
"b": 183
},
"hsl": {
"h": 226.714,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.4559,
"c": 0.17607,
"h": 266.9
},
"luminance": 0.0883
}Semantic roles & 50–950 ramp
primary
#2B4AB7
secondary
#C9B675
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82