#2B1A87#2B1A87
#2B1A87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.168 H 279.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A87 |
|---|---|
| RGB | rgb(43, 26, 135) |
| HSL | hsl(249, 68%, 32%) |
| HSV | hsv(249, 81%, 53%) |
| CMYK | cmyk(68.1%, 80.7%, 0%, 47.1%) |
| CIE-LAB | lab(20.05, 40.76, -57.29) |
| CIE-LCH | lch(20.05, 70.31, 305.43°) |
| OKLab | oklab(32.89% 0.0261 -0.1655) |
| OKLCH | oklch(32.89% 0.168 279) |
| XYZ | xyz(5.7374, 3.0012, 23.1939) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.88
Indigo (survey)
#380282
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.21
Darkblue
#00008B
ΔE00 4.81
Cobalt Blue
#030AA7
ΔE00 5.13
Navy
#000080
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A87 #76871A
analogous
#1A4087 #2B1A87 #621A87
triadic
#2B1A87 #872B1A #1A872B
tetradic
#2B1A87 #871A40 #76871A #1A8762
square
#2B1A87 #871A40 #76871A #1A8762
split-complementary
#2B1A87 #87621A #40871A
monochromatic
#0A0620 #1B1054 #2B1A87 #3B24BA #5941DA
Accessibility & contrast
On white
13.12
#2B1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2B1A87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A87
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A87 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1a87; /* rgb */ color: rgb(43, 26, 135); /* oklch */ color: oklch(32.9% 0.168 279.0);
Tailwind
colors: {
custom: {
50: '#735aab',
500: '#2b1a87',
950: '#000000',
},
}SCSS
$custom: #2b1a87; $custom-light: #735aab; $custom-dark: #000000;
JSON
{
"hex": "#2b1a87",
"rgb": {
"r": 43,
"g": 26,
"b": 135
},
"hsl": {
"h": 249.358,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.32889,
"c": 0.1675,
"h": 279
},
"luminance": 0.03002
}Semantic roles & 50–950 ramp
primary
#2B1A87
secondary
#A8BA42
accent
#EB3DD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F