#2B1C7E#2B1C7E
#2B1C7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.154 H 280.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1C7E |
|---|---|
| RGB | rgb(43, 28, 126) |
| HSL | hsl(249, 64%, 30%) |
| HSV | hsv(249, 78%, 49%) |
| CMYK | cmyk(65.9%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.43, 36.79, -52.62) |
| CIE-LCH | lch(19.43, 64.21, 304.96°) |
| OKLab | oklab(32.16% 0.0274 -0.1519) |
| OKLCH | oklch(32.16% 0.154 280.2) |
| XYZ | xyz(5.1762, 2.8501, 20.0120) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.65
Dark Royal Blue
#02066F
ΔE00 5.57
Darkblue
#00008B
ΔE00 5.64
Navy
#000080
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1C7E #6F7E1C
analogous
#1C3E7E #2B1C7E #5C1C7E
triadic
#2B1C7E #7E2B1C #1C7E2B
tetradic
#2B1C7E #7E1C3E #6F7E1C #1C7E5C
square
#2B1C7E #7E1C3E #6F7E1C #1C7E5C
split-complementary
#2B1C7E #7E5C1C #3E7E1C
monochromatic
#09061A #1A114C #2B1C7E #3C27B0 #5740D5
Accessibility & contrast
On white
13.38
#2B1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2B1C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1C7E
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1C7E | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b1c7e; /* rgb */ color: rgb(43, 28, 126); /* oklch */ color: oklch(32.2% 0.154 280.2);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#2b1c7e',
950: '#000000',
},
}SCSS
$custom: #2b1c7e; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#2b1c7e",
"rgb": {
"r": 43,
"g": 28,
"b": 126
},
"hsl": {
"h": 249.184,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.32163,
"c": 0.1543,
"h": 280.2
},
"luminance": 0.0285
}Semantic roles & 50–950 ramp
primary
#2B1C7E
secondary
#A1B244
accent
#E741CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F