#2B4EA1#2B4EA1
#2B4EA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.141 H 264.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EA1 |
|---|---|
| RGB | rgb(43, 78, 161) |
| HSL | hsl(222, 58%, 40%) |
| HSV | hsv(222, 73%, 63%) |
| CMYK | cmyk(73.3%, 51.6%, 0%, 36.9%) |
| CIE-LAB | lab(35.07, 17.09, -48.72) |
| CIE-LCH | lch(35.07, 51.63, 289.33°) |
| OKLab | oklab(44.63% -0.0141 -0.14) |
| OKLCH | oklch(44.63% 0.141 264.3) |
| XYZ | xyz(10.1514, 8.5345, 34.8236) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.04
Cobalt (survey)
#1E488F
ΔE00 3.27
Sapphire
#0F52BA
ΔE00 3.61
Dusk Blue
#26538D
ΔE00 4.13
Denim Blue
#3B5B92
ΔE00 4.92
Light Navy Blue
#2E5A88
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EA1 #A17E2B
analogous
#2B89A1 #2B4EA1 #432BA1
triadic
#2B4EA1 #A12B4E #4EA12B
tetradic
#2B4EA1 #A12B89 #A17E2B #2BA143
square
#2B4EA1 #A12B89 #A17E2B #2BA143
split-complementary
#2B4EA1 #A1432B #89A12B
monochromatic
#111F40 #1E3771 #2B4EA1 #3E68CB #6E8ED8
Accessibility & contrast
On white
7.76
#2B4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2B4EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EA1
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EA1 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b4ea1; /* rgb */ color: rgb(43, 78, 161); /* oklch */ color: oklch(44.6% 0.141 264.3);
Tailwind
colors: {
custom: {
50: '#747fbd',
500: '#2b4ea1',
950: '#000000',
},
}SCSS
$custom: #2b4ea1; $custom-light: #747fbd; $custom-dark: #000000;
JSON
{
"hex": "#2b4ea1",
"rgb": {
"r": 43,
"g": 78,
"b": 161
},
"hsl": {
"h": 222.203,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.44627,
"c": 0.14074,
"h": 264.3
},
"luminance": 0.08536
}Semantic roles & 50–950 ramp
primary
#2B4EA1
secondary
#BFA669
accent
#B347E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81