#2C1B82#2C1B82
#2C1B82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.160 H 280.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1B82 |
|---|---|
| RGB | rgb(44, 27, 130) |
| HSL | hsl(250, 66%, 31%) |
| HSV | hsv(250, 79%, 51%) |
| CMYK | cmyk(66.2%, 79.2%, 0%, 49%) |
| CIE-LAB | lab(19.76, 38.75, -54.61) |
| CIE-LCH | lch(19.76, 66.96, 305.36°) |
| OKLab | oklab(32.55% 0.0285 -0.1576) |
| OKLCH | oklch(32.55% 0.16 280.2) |
| XYZ | xyz(5.4586, 2.9306, 21.3928) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.54
Midnight Blue
#191970
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 4.24
Darkblue
#00008B
ΔE00 5.25
Navy
#000080
ΔE00 5.43
Dark Royal Blue
#02066F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1B82 #71821B
analogous
#1B3D82 #2C1B82 #5F1B82
triadic
#2C1B82 #822C1B #1B822C
tetradic
#2C1B82 #821B3D #71821B #1B825F
square
#2C1B82 #821B3D #71821B #1B825F
split-complementary
#2C1B82 #825F1B #3D821B
monochromatic
#0A061D #1B104F #2C1B82 #3D26B5 #5940D7
Accessibility & contrast
On white
13.24
#2C1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2C1B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1B82
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1B82 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1b82; /* rgb */ color: rgb(44, 27, 130); /* oklch */ color: oklch(32.5% 0.160 280.2);
Tailwind
colors: {
custom: {
50: '#725aa7',
500: '#2c1b82',
950: '#000000',
},
}SCSS
$custom: #2c1b82; $custom-light: #725aa7; $custom-dark: #000000;
JSON
{
"hex": "#2c1b82",
"rgb": {
"r": 44,
"g": 27,
"b": 130
},
"hsl": {
"h": 249.903,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.32547,
"c": 0.16017,
"h": 280.2
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#2C1B82
secondary
#A3B643
accent
#E93FCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F