#2B4CA2#2B4CA2
#2B4CA2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.145 H 265.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CA2 |
|---|---|
| RGB | rgb(43, 76, 162) |
| HSL | hsl(223, 58%, 40%) |
| HSV | hsv(223, 73%, 64%) |
| CMYK | cmyk(73.5%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(34.58, 18.81, -50.11) |
| CIE-LCH | lch(34.58, 53.53, 290.57°) |
| OKLab | oklab(44.28% -0.0123 -0.1442) |
| OKLCH | oklch(44.28% 0.145 265.1) |
| XYZ | xyz(10.1000, 8.2900, 35.2433) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Cobalt (survey)
#1E488F
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 3.89
Dusk Blue
#26538D
ΔE00 4.77
Denim Blue
#3B5B92
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CA2 #A2812B
analogous
#2B88A2 #2B4CA2 #452BA2
triadic
#2B4CA2 #A22B4C #4CA22B
tetradic
#2B4CA2 #A22B88 #A2812B #2BA245
square
#2B4CA2 #A22B88 #A2812B #2BA245
split-complementary
#2B4CA2 #A2452B #88A22B
monochromatic
#111F41 #1E3572 #2B4CA2 #3E66CC #6F8CD9
Accessibility & contrast
On white
7.90
#2B4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2B4CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CA2
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CA2 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b4ca2; /* rgb */ color: rgb(43, 76, 162); /* oklch */ color: oklch(44.3% 0.145 265.1);
Tailwind
colors: {
custom: {
50: '#757dbe',
500: '#2b4ca2',
950: '#000000',
},
}SCSS
$custom: #2b4ca2; $custom-light: #757dbe; $custom-dark: #000000;
JSON
{
"hex": "#2b4ca2",
"rgb": {
"r": 43,
"g": 76,
"b": 162
},
"hsl": {
"h": 223.361,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.44275,
"c": 0.14469,
"h": 265.1
},
"luminance": 0.08291
}Semantic roles & 50–950 ramp
primary
#2B4CA2
secondary
#C0A869
accent
#B647E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81