#2C1AA1#2C1AA1
#2C1AA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.198 H 275.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1AA1 |
|---|---|
| RGB | rgb(44, 26, 161) |
| HSL | hsl(248, 72%, 37%) |
| HSV | hsv(248, 84%, 63%) |
| CMYK | cmyk(72.7%, 83.9%, 0%, 36.9%) |
| CIE-LAB | lab(23.16, 48.86, -68.23) |
| CIE-LCH | lch(23.16, 83.92, 305.61°) |
| OKLab | oklab(35.95% 0.0198 -0.1972) |
| OKLCH | oklch(35.95% 0.198 275.7) |
| XYZ | xyz(7.8390, 3.8467, 34.0407) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.70
Cobalt Blue
#030AA7
ΔE00 3.01
Royal
#0C1793
ΔE00 3.21
Ultramarine
#2000B1
ΔE00 3.32
Royal Blue (survey)
#0504AA
ΔE00 3.37
True Blue
#010FCC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1AA1 #8FA11A
analogous
#1A4CA1 #2C1AA1 #701AA1
triadic
#2C1AA1 #A12C1A #1AA12C
tetradic
#2C1AA1 #A11A4C #8FA11A #1AA170
square
#2C1AA1 #A11A4C #8FA11A #1AA170
split-complementary
#2C1AA1 #A1701A #4CA11A
monochromatic
#0F0938 #1E116C #2C1AA1 #3A23D6 #6652E3
Accessibility & contrast
On white
11.87
#2C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C1AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1AA1
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1AA1 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1aa1; /* rgb */ color: rgb(44, 26, 161); /* oklch */ color: oklch(35.9% 0.198 275.7);
Tailwind
colors: {
custom: {
50: '#795cbe',
500: '#2c1aa1',
950: '#000000',
},
}SCSS
$custom: #2c1aa1; $custom-light: #795cbe; $custom-dark: #000000;
JSON
{
"hex": "#2c1aa1",
"rgb": {
"r": 44,
"g": 26,
"b": 161
},
"hsl": {
"h": 248,
"s": 72.193,
"l": 36.667
},
"oklch": {
"l": 0.35948,
"c": 0.19819,
"h": 275.7
},
"luminance": 0.03847
}Semantic roles & 50–950 ramp
primary
#2C1AA1
secondary
#B6C651
accent
#EF39D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981