#2B1E84#2B1E84
#2B1E84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.160 H 278.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E84 |
|---|---|
| RGB | rgb(43, 30, 132) |
| HSL | hsl(248, 63%, 32%) |
| HSV | hsv(248, 77%, 52%) |
| CMYK | cmyk(67.4%, 77.3%, 0%, 48.2%) |
| CIE-LAB | lab(20.47, 37.64, -54.71) |
| CIE-LCH | lch(20.47, 66.41, 304.53°) |
| OKLab | oklab(33.09% 0.0245 -0.158) |
| OKLCH | oklch(33.09% 0.16 278.8) |
| XYZ | xyz(5.6241, 3.1076, 22.1288) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.43
Midnight Blue
#191970
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 4.95
Darkblue
#00008B
ΔE00 5.67
Navy
#000080
ΔE00 5.95
Cobalt Blue
#030AA7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E84 #77841E
analogous
#1E4484 #2B1E84 #5E1E84
triadic
#2B1E84 #842B1E #1E842B
tetradic
#2B1E84 #841E44 #77841E #1E845E
square
#2B1E84 #841E44 #77841E #1E845E
split-complementary
#2B1E84 #845E1E #44841E
monochromatic
#0B0720 #1B1352 #2B1E84 #3B29B6 #5947D5
Accessibility & contrast
On white
12.95
#2B1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B1E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E84
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E84 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1e84; /* rgb */ color: rgb(43, 30, 132); /* oklch */ color: oklch(33.1% 0.160 278.8);
Tailwind
colors: {
custom: {
50: '#725ca9',
500: '#2b1e84',
950: '#000000',
},
}SCSS
$custom: #2b1e84; $custom-light: #725ca9; $custom-dark: #000000;
JSON
{
"hex": "#2b1e84",
"rgb": {
"r": 43,
"g": 30,
"b": 132
},
"hsl": {
"h": 247.647,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.33086,
"c": 0.15986,
"h": 278.8
},
"luminance": 0.03108
}Semantic roles & 50–950 ramp
primary
#2B1E84
secondary
#A9B747
accent
#E642D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F