#2B1A84#2B1A84
#2B1A84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.164 H 279.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A84 |
|---|---|
| RGB | rgb(43, 26, 132) |
| HSL | hsl(250, 67%, 31%) |
| HSV | hsv(250, 80%, 52%) |
| CMYK | cmyk(67.4%, 80.3%, 0%, 48.2%) |
| CIE-LAB | lab(19.71, 39.81, -55.96) |
| CIE-LCH | lch(19.71, 68.67, 305.43°) |
| OKLab | oklab(32.55% 0.027 -0.1616) |
| OKLCH | oklch(32.55% 0.164 279.5) |
| XYZ | xyz(5.5292, 2.9179, 22.0972) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.18
Midnight Blue
#191970
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 4.10
Darkblue
#00008B
ΔE00 4.92
Navy
#000080
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A84 #73841A
analogous
#1A3E84 #2B1A84 #601A84
triadic
#2B1A84 #842B1A #1A842B
tetradic
#2B1A84 #841A3E #73841A #1A8460
square
#2B1A84 #841A3E #73841A #1A8460
split-complementary
#2B1A84 #84601A #3E841A
monochromatic
#0A061E #1A1051 #2B1A84 #3C24B7 #583FD9
Accessibility & contrast
On white
13.26
#2B1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2B1A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A84
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A84 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1a84; /* rgb */ color: rgb(43, 26, 132); /* oklch */ color: oklch(32.6% 0.164 279.5);
Tailwind
colors: {
custom: {
50: '#725aa9',
500: '#2b1a84',
950: '#000000',
},
}SCSS
$custom: #2b1a84; $custom-light: #725aa9; $custom-dark: #000000;
JSON
{
"hex": "#2b1a84",
"rgb": {
"r": 43,
"g": 26,
"b": 132
},
"hsl": {
"h": 249.623,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.32554,
"c": 0.16381,
"h": 279.5
},
"luminance": 0.02918
}Semantic roles & 50–950 ramp
primary
#2B1A84
secondary
#A5B842
accent
#EA3ECE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F