#2B1A89#2B1A89
#2B1A89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.170 H 278.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1A89 |
|---|---|
| RGB | rgb(43, 26, 137) |
| HSL | hsl(249, 68%, 32%) |
| HSV | hsv(249, 81%, 54%) |
| CMYK | cmyk(68.6%, 81%, 0%, 46.3%) |
| CIE-LAB | lab(20.27, 41.39, -58.17) |
| CIE-LCH | lch(20.27, 71.39, 305.43°) |
| OKLab | oklab(33.11% 0.0255 -0.168) |
| OKLCH | oklch(33.11% 0.17 278.6) |
| XYZ | xyz(5.8796, 3.0580, 23.9425) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Indigo (survey)
#380282
ΔE00 4.16
Midnight Blue
#191970
ΔE00 4.47
Darkblue
#00008B
ΔE00 4.77
Cobalt Blue
#030AA7
ΔE00 4.87
Navy
#000080
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1A89 #78891A
analogous
#1A4189 #2B1A89 #631A89
triadic
#2B1A89 #892B1A #1A892B
tetradic
#2B1A89 #891A41 #78891A #1A8963
square
#2B1A89 #891A41 #78891A #1A8963
split-complementary
#2B1A89 #89631A #41891A
monochromatic
#0B0622 #1B1056 #2B1A89 #3B24BC #5A42DB
Accessibility & contrast
On white
13.03
#2B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2B1A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1A89
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1A89 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1a89; /* rgb */ color: rgb(43, 26, 137); /* oklch */ color: oklch(33.1% 0.170 278.6);
Tailwind
colors: {
custom: {
50: '#735aad',
500: '#2b1a89',
950: '#000000',
},
}SCSS
$custom: #2b1a89; $custom-light: #735aad; $custom-dark: #000000;
JSON
{
"hex": "#2b1a89",
"rgb": {
"r": 43,
"g": 26,
"b": 137
},
"hsl": {
"h": 249.189,
"s": 68.098,
"l": 31.961
},
"oklch": {
"l": 0.33113,
"c": 0.16995,
"h": 278.6
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#2B1A89
secondary
#AABC43
accent
#EB3DD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F