#2A1CAC#2A1CAC
#2A1CAC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.210 H 273.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1CAC |
|---|---|
| RGB | rgb(42, 28, 172) |
| HSL | hsl(246, 72%, 39%) |
| HSV | hsv(246, 84%, 67%) |
| CMYK | cmyk(75.6%, 83.7%, 0%, 32.5%) |
| CIE-LAB | lab(24.64, 51.14, -72.43) |
| CIE-LCH | lch(24.64, 88.67, 305.22°) |
| OKLab | oklab(37.31% 0.0133 -0.2095) |
| OKLCH | oklch(37.31% 0.21 273.6) |
| XYZ | xyz(8.8140, 4.3004, 39.3873) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.85
Ultramarine
#2000B1
ΔE00 3.19
Cobalt Blue
#030AA7
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.62
True Blue
#010FCC
ΔE00 3.92
Royal
#0C1793
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1CAC #9EAC1C
analogous
#1C56AC #2A1CAC #721CAC
triadic
#2A1CAC #AC2A1C #1CAC2A
tetradic
#2A1CAC #AC1C56 #9EAC1C #1CAC72
square
#2A1CAC #AC1C56 #9EAC1C #1CAC72
split-complementary
#2A1CAC #AC721C #56AC1C
monochromatic
#100B43 #1D1377 #2A1CAC #3A29DC #6B5EE5
Accessibility & contrast
On white
11.29
#2A1CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A1CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1CAC
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1CAC | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a1cac; /* rgb */ color: rgb(42, 28, 172); /* oklch */ color: oklch(37.3% 0.210 273.6);
Tailwind
colors: {
custom: {
50: '#7b5ec6',
500: '#2a1cac',
950: '#000000',
},
}SCSS
$custom: #2a1cac; $custom-light: #7b5ec6; $custom-dark: #000000;
JSON
{
"hex": "#2a1cac",
"rgb": {
"r": 42,
"g": 28,
"b": 172
},
"hsl": {
"h": 245.833,
"s": 72,
"l": 39.216
},
"oklch": {
"l": 0.37314,
"c": 0.2099,
"h": 273.6
},
"luminance": 0.04301
}Semantic roles & 50–950 ramp
primary
#2A1CAC
secondary
#BEC95B
accent
#EF39DD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982