#2B1B84#2B1B84
#2B1B84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 279.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1B84 |
|---|---|
| RGB | rgb(43, 27, 132) |
| HSL | hsl(249, 66%, 31%) |
| HSV | hsv(249, 80%, 52%) |
| CMYK | cmyk(67.4%, 79.5%, 0%, 48.2%) |
| CIE-LAB | lab(19.89, 39.28, -55.66) |
| CIE-LCH | lch(19.89, 68.12, 305.21°) |
| OKLab | oklab(32.68% 0.0264 -0.1607) |
| OKLCH | oklch(32.68% 0.163 279.3) |
| XYZ | xyz(5.5517, 2.9629, 22.1047) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.22
Midnight Blue
#191970
ΔE00 3.80
Indigo (survey)
#380282
ΔE00 4.30
Darkblue
#00008B
ΔE00 5.09
Navy
#000080
ΔE00 5.37
Cobalt Blue
#030AA7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1B84 #74841B
analogous
#1B3F84 #2B1B84 #5F1B84
triadic
#2B1B84 #842B1B #1B842B
tetradic
#2B1B84 #841B3F #74841B #1B845F
square
#2B1B84 #841B3F #74841B #1B845F
split-complementary
#2B1B84 #845F1B #3F841B
monochromatic
#0A061E #1A1151 #2B1B84 #3C25B7 #5841D8
Accessibility & contrast
On white
13.19
#2B1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2B1B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1B84
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1B84 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2b1b84; /* rgb */ color: rgb(43, 27, 132); /* oklch */ color: oklch(32.7% 0.163 279.3);
Tailwind
colors: {
custom: {
50: '#725aa9',
500: '#2b1b84',
950: '#000000',
},
}SCSS
$custom: #2b1b84; $custom-light: #725aa9; $custom-dark: #000000;
JSON
{
"hex": "#2b1b84",
"rgb": {
"r": 43,
"g": 27,
"b": 132
},
"hsl": {
"h": 249.143,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.32682,
"c": 0.16286,
"h": 279.3
},
"luminance": 0.02963
}Semantic roles & 50–950 ramp
primary
#2B1B84
secondary
#A6B743
accent
#E93FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F