#2B1C7D#2B1C7D
#2B1C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 280.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1C7D |
|---|---|
| RGB | rgb(43, 28, 125) |
| HSL | hsl(249, 63%, 30%) |
| HSV | hsv(249, 78%, 49%) |
| CMYK | cmyk(65.6%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(19.33, 36.47, -52.16) |
| CIE-LCH | lch(19.33, 63.64, 304.96°) |
| OKLab | oklab(32.06% 0.0276 -0.1505) |
| OKLCH | oklch(32.06% 0.153 280.4) |
| XYZ | xyz(5.1120, 2.8244, 19.6738) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Royal
#0C1793
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 4.69
Dark Royal Blue
#02066F
ΔE00 5.53
Navy
#000080
ΔE00 5.70
Darkblue
#00008B
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1C7D #6E7D1C
analogous
#1C3E7D #2B1C7D #5B1C7D
triadic
#2B1C7D #7D2B1C #1C7D2B
tetradic
#2B1C7D #7D1C3E #6E7D1C #1C7D5B
square
#2B1C7D #7D1C3E #6E7D1C #1C7D5B
split-complementary
#2B1C7D #7D5B1C #3E7D1C
monochromatic
#090619 #1A114B #2B1C7D #3C27AF #563FD4
Accessibility & contrast
On white
13.42
#2B1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2B1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1C7D
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1C7D | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1c7d; /* rgb */ color: rgb(43, 28, 125); /* oklch */ color: oklch(32.1% 0.153 280.4);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#2b1c7d',
950: '#000000',
},
}SCSS
$custom: #2b1c7d; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#2b1c7d",
"rgb": {
"r": 43,
"g": 28,
"b": 125
},
"hsl": {
"h": 249.278,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.32056,
"c": 0.15303,
"h": 280.4
},
"luminance": 0.02825
}Semantic roles & 50–950 ramp
primary
#2B1C7D
secondary
#A0B144
accent
#E641CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F