#2C1CA1#2C1CA1
#2C1CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.2% C 0.197 H 275.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1CA1 |
|---|---|
| RGB | rgb(44, 28, 161) |
| HSL | hsl(247, 70%, 37%) |
| HSV | hsv(247, 83%, 63%) |
| CMYK | cmyk(72.7%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(23.47, 47.95, -67.71) |
| CIE-LCH | lch(23.47, 82.97, 305.30°) |
| OKLab | oklab(36.16% 0.0191 -0.1957) |
| OKLCH | oklch(36.16% 0.197 275.6) |
| XYZ | xyz(7.8849, 3.9384, 34.0560) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.74
Cobalt Blue
#030AA7
ΔE00 3.27
Royal
#0C1793
ΔE00 3.28
Ultramarine
#2000B1
ΔE00 3.61
Royal Blue (survey)
#0504AA
ΔE00 3.65
True Blue
#010FCC
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1CA1 #91A11C
analogous
#1C4FA1 #2C1CA1 #6F1CA1
triadic
#2C1CA1 #A12C1C #1CA12C
tetradic
#2C1CA1 #A11C4F #91A11C #1CA16F
square
#2C1CA1 #A11C4F #91A11C #1CA16F
split-complementary
#2C1CA1 #A16F1C #4FA11C
monochromatic
#100A39 #1E136D #2C1CA1 #3A25D5 #6756E2
Accessibility & contrast
On white
11.75
#2C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1CA1
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1CA1 | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1ca1; /* rgb */ color: rgb(44, 28, 161); /* oklch */ color: oklch(36.2% 0.197 275.6);
Tailwind
colors: {
custom: {
50: '#795dbe',
500: '#2c1ca1',
950: '#000000',
},
}SCSS
$custom: #2c1ca1; $custom-light: #795dbe; $custom-dark: #000000;
JSON
{
"hex": "#2c1ca1",
"rgb": {
"r": 44,
"g": 28,
"b": 161
},
"hsl": {
"h": 247.218,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.36161,
"c": 0.19668,
"h": 275.6
},
"luminance": 0.03939
}Semantic roles & 50–950 ramp
primary
#2C1CA1
secondary
#B7C554
accent
#ED3BD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981