#2B1D7E#2B1D7E
#2B1D7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.153 H 280.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1D7E |
|---|---|
| RGB | rgb(43, 29, 126) |
| HSL | hsl(249, 63%, 30%) |
| HSV | hsv(249, 77%, 49%) |
| CMYK | cmyk(65.9%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(19.63, 36.23, -52.29) |
| CIE-LCH | lch(19.63, 63.62, 304.72°) |
| OKLab | oklab(32.3% 0.0267 -0.1509) |
| OKLCH | oklch(32.3% 0.153 280) |
| XYZ | xyz(5.2003, 2.8983, 20.0200) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 4.88
Dark Royal Blue
#02066F
ΔE00 5.73
Darkblue
#00008B
ΔE00 5.84
Navy
#000080
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1D7E #707E1D
analogous
#1D3F7E #2B1D7E #5B1D7E
triadic
#2B1D7E #7E2B1D #1D7E2B
tetradic
#2B1D7E #7E1D3F #707E1D #1D7E5B
square
#2B1D7E #7E1D3F #707E1D #1D7E5B
split-complementary
#2B1D7E #7E5B1D #3F7E1D
monochromatic
#09061B #1A124C #2B1D7E #3C28B0 #5742D3
Accessibility & contrast
On white
13.29
#2B1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2B1D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1D7E
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1D7E | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1d7e; /* rgb */ color: rgb(43, 29, 126); /* oklch */ color: oklch(32.3% 0.153 280.0);
Tailwind
colors: {
custom: {
50: '#705ba4',
500: '#2b1d7e',
950: '#000000',
},
}SCSS
$custom: #2b1d7e; $custom-light: #705ba4; $custom-dark: #000000;
JSON
{
"hex": "#2b1d7e",
"rgb": {
"r": 43,
"g": 29,
"b": 126
},
"hsl": {
"h": 248.66,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.32303,
"c": 0.15326,
"h": 280
},
"luminance": 0.02899
}Semantic roles & 50–950 ramp
primary
#2B1D7E
secondary
#A2B145
accent
#E642CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F