#2B1A86#2B1A86
#2B1A86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.166 H 279.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A86 |
|---|---|
| RGB | rgb(43, 26, 134) |
| HSL | hsl(249, 68%, 31%) |
| HSV | hsv(249, 81%, 53%) |
| CMYK | cmyk(67.9%, 80.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.94, 40.44, -56.85) |
| CIE-LCH | lch(19.94, 69.77, 305.43°) |
| OKLab | oklab(32.78% 0.0264 -0.1642) |
| OKLCH | oklch(32.78% 0.166 279.1) |
| XYZ | xyz(5.6674, 2.9731, 22.8248) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.97
Midnight Blue
#191970
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.10
Darkblue
#00008B
ΔE00 4.84
Navy
#000080
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A86 #75861A
analogous
#1A3F86 #2B1A86 #611A86
triadic
#2B1A86 #862B1A #1A862B
tetradic
#2B1A86 #861A3F #75861A #1A8661
square
#2B1A86 #861A3F #75861A #1A8661
split-complementary
#2B1A86 #86611A #3F861A
monochromatic
#0A061F #1B1053 #2B1A86 #3B24B9 #5940DA
Accessibility & contrast
On white
13.17
#2B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A86
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A86 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1a86; /* rgb */ color: rgb(43, 26, 134); /* oklch */ color: oklch(32.8% 0.166 279.1);
Tailwind
colors: {
custom: {
50: '#725aaa',
500: '#2b1a86',
950: '#000000',
},
}SCSS
$custom: #2b1a86; $custom-light: #725aaa; $custom-dark: #000000;
JSON
{
"hex": "#2b1a86",
"rgb": {
"r": 43,
"g": 26,
"b": 134
},
"hsl": {
"h": 249.444,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.32777,
"c": 0.16628,
"h": 279.1
},
"luminance": 0.02974
}Semantic roles & 50–950 ramp
primary
#2B1A86
secondary
#A7B942
accent
#EA3DCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F