#2B4AA7#2B4AA7
#2B4AA7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.154 H 266.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AA7 |
|---|---|
| RGB | rgb(43, 74, 167) |
| HSL | hsl(225, 59%, 41%) |
| HSV | hsv(225, 74%, 65%) |
| CMYK | cmyk(74.3%, 55.7%, 0%, 34.5%) |
| CIE-LAB | lab(34.40, 22.06, -53.41) |
| CIE-LCH | lch(34.40, 57.78, 292.44°) |
| OKLab | oklab(44.25% -0.0102 -0.1539) |
| OKLCH | oklch(44.25% 0.154 266.2) |
| XYZ | xyz(10.4176, 8.2001, 37.5855) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Sapphire
#0F52BA
ΔE00 4.06
Cobalt (survey)
#1E488F
ΔE00 4.09
Blue Blue
#2242C7
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 5.77
Dusk Blue
#26538D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AA7 #A7882B
analogous
#2B88A7 #2B4AA7 #4A2BA7
triadic
#2B4AA7 #A72B4A #4AA72B
tetradic
#2B4AA7 #A72B88 #A7882B #2BA74A
square
#2B4AA7 #A72B88 #A7882B #2BA74A
split-complementary
#2B4AA7 #A74A2B #88A72B
monochromatic
#121F46 #1E3476 #2B4AA7 #4164CE #728CDB
Accessibility & contrast
On white
7.95
#2B4AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2B4AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AA7
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AA7 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b4aa7; /* rgb */ color: rgb(43, 74, 167); /* oklch */ color: oklch(44.3% 0.154 266.2);
Tailwind
colors: {
custom: {
50: '#767cc2',
500: '#2b4aa7',
950: '#000000',
},
}SCSS
$custom: #2b4aa7; $custom-light: #767cc2; $custom-dark: #000000;
JSON
{
"hex": "#2b4aa7",
"rgb": {
"r": 43,
"g": 74,
"b": 167
},
"hsl": {
"h": 225,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.44254,
"c": 0.15424,
"h": 266.2
},
"luminance": 0.08201
}Semantic roles & 50–950 ramp
primary
#2B4AA7
secondary
#C2AC6C
accent
#BB46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81