#2B1E81#2B1E81
#2B1E81 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.156 H 279.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1E81 |
|---|---|
| RGB | rgb(43, 30, 129) |
| HSL | hsl(248, 62%, 31%) |
| HSV | hsv(248, 77%, 51%) |
| CMYK | cmyk(66.7%, 76.7%, 0%, 49.4%) |
| CIE-LAB | lab(20.15, 36.65, -53.34) |
| CIE-LCH | lch(20.15, 64.72, 304.49°) |
| OKLab | oklab(32.77% 0.0253 -0.154) |
| OKLCH | oklch(32.77% 0.156 279.3) |
| XYZ | xyz(5.4217, 3.0267, 21.0631) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.40
Royal
#0C1793
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 5.01
Darkblue
#00008B
ΔE00 5.83
Navy
#000080
ΔE00 5.99
Dark Royal Blue
#02066F
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1E81 #74811E
analogous
#1E4281 #2B1E81 #5C1E81
triadic
#2B1E81 #812B1E #1E812B
tetradic
#2B1E81 #811E42 #74811E #1E815C
square
#2B1E81 #811E42 #74811E #1E815C
split-complementary
#2B1E81 #815C1E #42811E
monochromatic
#0A071E #1A124F #2B1E81 #3C2AB3 #5846D4
Accessibility & contrast
On white
13.08
#2B1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2B1E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1E81
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1E81 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1e81; /* rgb */ color: rgb(43, 30, 129); /* oklch */ color: oklch(32.8% 0.156 279.3);
Tailwind
colors: {
custom: {
50: '#715ca7',
500: '#2b1e81',
950: '#000000',
},
}SCSS
$custom: #2b1e81; $custom-light: #715ca7; $custom-dark: #000000;
JSON
{
"hex": "#2b1e81",
"rgb": {
"r": 43,
"g": 30,
"b": 129
},
"hsl": {
"h": 247.879,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.32765,
"c": 0.15604,
"h": 279.3
},
"luminance": 0.03027
}Semantic roles & 50–950 ramp
primary
#2B1E81
secondary
#A6B447
accent
#E542D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F