#2B1B89#2B1B89
#2B1B89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.169 H 278.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1B89 |
|---|---|
| RGB | rgb(43, 27, 137) |
| HSL | hsl(249, 67%, 32%) |
| HSV | hsv(249, 80%, 54%) |
| CMYK | cmyk(68.6%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(20.45, 40.88, -57.88) |
| CIE-LCH | lch(20.45, 70.86, 305.23°) |
| OKLab | oklab(33.24% 0.025 -0.1672) |
| OKLCH | oklch(33.24% 0.169 278.5) |
| XYZ | xyz(5.9021, 3.1031, 23.9500) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.74
Indigo (survey)
#380282
ΔE00 4.35
Midnight Blue
#191970
ΔE00 4.44
Darkblue
#00008B
ΔE00 4.94
Cobalt Blue
#030AA7
ΔE00 4.97
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1B89 #79891B
analogous
#1B4289 #2B1B89 #621B89
triadic
#2B1B89 #892B1B #1B892B
tetradic
#2B1B89 #891B42 #79891B #1B8962
square
#2B1B89 #891B42 #79891B #1B8962
split-complementary
#2B1B89 #89621B #42891B
monochromatic
#0B0723 #1B1156 #2B1B89 #3B25BC #5A44DA
Accessibility & contrast
On white
12.96
#2B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1B89
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1B89 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1b89; /* rgb */ color: rgb(43, 27, 137); /* oklch */ color: oklch(33.2% 0.169 278.5);
Tailwind
colors: {
custom: {
50: '#735bad',
500: '#2b1b89',
950: '#000000',
},
}SCSS
$custom: #2b1b89; $custom-light: #735bad; $custom-dark: #000000;
JSON
{
"hex": "#2b1b89",
"rgb": {
"r": 43,
"g": 27,
"b": 137
},
"hsl": {
"h": 248.727,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.33237,
"c": 0.16904,
"h": 278.5
},
"luminance": 0.03104
}Semantic roles & 50–950 ramp
primary
#2B1B89
secondary
#AABC44
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F