#2B4EA4#2B4EA4
#2B4EA4 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.145 H 264.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EA4 |
|---|---|
| RGB | rgb(43, 78, 164) |
| HSL | hsl(223, 58%, 41%) |
| HSV | hsv(223, 74%, 64%) |
| CMYK | cmyk(73.8%, 52.4%, 0%, 35.7%) |
| CIE-LAB | lab(35.28, 18.24, -50.17) |
| CIE-LCH | lch(35.28, 53.39, 289.98°) |
| OKLab | oklab(44.86% -0.0138 -0.1443) |
| OKLCH | oklch(44.86% 0.145 264.6) |
| XYZ | xyz(10.4191, 8.6416, 36.2336) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.92
Sapphire
#0F52BA
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 3.62
Dusk Blue
#26538D
ΔE00 4.46
Denim Blue
#3B5B92
ΔE00 5.12
Light Navy Blue
#2E5A88
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EA4 #A4812B
analogous
#2B8AA4 #2B4EA4 #452BA4
triadic
#2B4EA4 #A42B4E #4EA42B
tetradic
#2B4EA4 #A42B8A #A4812B #2BA445
square
#2B4EA4 #A42B8A #A4812B #2BA445
split-complementary
#2B4EA4 #A4452B #8AA42B
monochromatic
#122043 #1E3774 #2B4EA4 #3F68CD #708ED9
Accessibility & contrast
On white
7.70
#2B4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2B4EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EA4
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EA4 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4ea4; /* rgb */ color: rgb(43, 78, 164); /* oklch */ color: oklch(44.9% 0.145 264.6);
Tailwind
colors: {
custom: {
50: '#757fc0',
500: '#2b4ea4',
950: '#000000',
},
}SCSS
$custom: #2b4ea4; $custom-light: #757fc0; $custom-dark: #000000;
JSON
{
"hex": "#2b4ea4",
"rgb": {
"r": 43,
"g": 78,
"b": 164
},
"hsl": {
"h": 222.645,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.44856,
"c": 0.14496,
"h": 264.6
},
"luminance": 0.08643
}Semantic roles & 50–950 ramp
primary
#2B4EA4
secondary
#C1A86A
accent
#B546E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81