#2C1A87#2C1A87
#2C1A87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.167 H 279.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1A87 |
|---|---|
| RGB | rgb(44, 26, 135) |
| HSL | hsl(250, 68%, 32%) |
| HSV | hsv(250, 81%, 53%) |
| CMYK | cmyk(67.4%, 80.7%, 0%, 47.1%) |
| CIE-LAB | lab(20.14, 40.86, -57.14) |
| CIE-LCH | lch(20.14, 70.25, 305.57°) |
| OKLab | oklab(32.97% 0.0276 -0.165) |
| OKLCH | oklch(32.97% 0.167 279.5) |
| XYZ | xyz(5.7799, 3.0231, 23.1959) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.97
Indigo (survey)
#380282
ΔE00 4.05
Midnight Blue
#191970
ΔE00 4.28
Darkblue
#00008B
ΔE00 4.87
Cobalt Blue
#030AA7
ΔE00 5.17
Navy
#000080
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1A87 #75871A
analogous
#1A3F87 #2C1A87 #631A87
triadic
#2C1A87 #872C1A #1A872C
tetradic
#2C1A87 #871A3F #75871A #1A8763
square
#2C1A87 #871A3F #75871A #1A8763
split-complementary
#2C1A87 #87631A #3F871A
monochromatic
#0B0620 #1B1054 #2C1A87 #3D24BA #5A41DA
Accessibility & contrast
On white
13.09
#2C1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2C1A87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1A87
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1A87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1A87 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1a87; /* rgb */ color: rgb(44, 26, 135); /* oklch */ color: oklch(33.0% 0.167 279.5);
Tailwind
colors: {
custom: {
50: '#735aab',
500: '#2c1a87',
950: '#000000',
},
}SCSS
$custom: #2c1a87; $custom-light: #735aab; $custom-dark: #000000;
JSON
{
"hex": "#2c1a87",
"rgb": {
"r": 44,
"g": 26,
"b": 135
},
"hsl": {
"h": 249.908,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.32972,
"c": 0.16729,
"h": 279.5
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#2C1A87
secondary
#A7BA42
accent
#EB3DCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F