#2A1CA6#2A1CA6
#2A1CA6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.203 H 274.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1CA6 |
|---|---|
| RGB | rgb(42, 28, 166) |
| HSL | hsl(246, 71%, 38%) |
| HSV | hsv(246, 83%, 65%) |
| CMYK | cmyk(74.7%, 83.1%, 0%, 34.9%) |
| CIE-LAB | lab(23.92, 49.33, -70.01) |
| CIE-LCH | lch(23.92, 85.64, 305.17°) |
| OKLab | oklab(36.61% 0.015 -0.2024) |
| OKLCH | oklch(36.61% 0.203 274.2) |
| XYZ | xyz(8.2508, 4.0751, 36.4207) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.34
Cobalt Blue
#030AA7
ΔE00 3.17
Ultramarine
#2000B1
ΔE00 3.33
Royal Blue (survey)
#0504AA
ΔE00 3.51
Royal
#0C1793
ΔE00 3.65
True Blue
#010FCC
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1CA6 #98A61C
analogous
#1C53A6 #2A1CA6 #6F1CA6
triadic
#2A1CA6 #A62A1C #1CA62A
tetradic
#2A1CA6 #A61C53 #98A61C #1CA66F
square
#2A1CA6 #A61C53 #98A61C #1CA66F
split-complementary
#2A1CA6 #A66F1C #53A61C
monochromatic
#100A3D #1D1372 #2A1CA6 #3725DA #6759E3
Accessibility & contrast
On white
11.57
#2A1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2A1CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1CA6
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1CA6 | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a1ca6; /* rgb */ color: rgb(42, 28, 166); /* oklch */ color: oklch(36.6% 0.203 274.2);
Tailwind
colors: {
custom: {
50: '#795dc2',
500: '#2a1ca6',
950: '#000000',
},
}SCSS
$custom: #2a1ca6; $custom-light: #795dc2; $custom-dark: #000000;
JSON
{
"hex": "#2a1ca6",
"rgb": {
"r": 42,
"g": 28,
"b": 166
},
"hsl": {
"h": 246.087,
"s": 71.134,
"l": 38.039
},
"oklch": {
"l": 0.36608,
"c": 0.203,
"h": 274.2
},
"luminance": 0.04076
}Semantic roles & 50–950 ramp
primary
#2A1CA6
secondary
#BBC757
accent
#EE3ADC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982