#2A1C86#2A1C86
#2A1C86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.165 H 278.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1C86 |
|---|---|
| RGB | rgb(42, 28, 134) |
| HSL | hsl(248, 65%, 32%) |
| HSV | hsv(248, 79%, 53%) |
| CMYK | cmyk(68.7%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.22, 39.28, -56.39) |
| CIE-LCH | lch(20.22, 68.72, 304.86°) |
| OKLab | oklab(32.95% 0.0238 -0.1629) |
| OKLCH | oklch(32.95% 0.165 278.3) |
| XYZ | xyz(5.6718, 3.0435, 22.8382) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.98
Midnight Blue
#191970
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.58
Darkblue
#00008B
ΔE00 5.15
Cobalt Blue
#030AA7
ΔE00 5.42
Navy
#000080
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1C86 #78861C
analogous
#1C4386 #2A1C86 #5F1C86
triadic
#2A1C86 #862A1C #1C862A
tetradic
#2A1C86 #861C43 #78861C #1C865F
square
#2A1C86 #861C43 #78861C #1C865F
split-complementary
#2A1C86 #865F1C #43861C
monochromatic
#0A0721 #1A1153 #2A1C86 #3A27B9 #5844D8
Accessibility & contrast
On white
13.05
#2A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2A1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1C86
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1C86 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a1c86; /* rgb */ color: rgb(42, 28, 134); /* oklch */ color: oklch(33.0% 0.165 278.3);
Tailwind
colors: {
custom: {
50: '#725baa',
500: '#2a1c86',
950: '#000000',
},
}SCSS
$custom: #2a1c86; $custom-light: #725baa; $custom-dark: #000000;
JSON
{
"hex": "#2a1c86",
"rgb": {
"r": 42,
"g": 28,
"b": 134
},
"hsl": {
"h": 247.925,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32952,
"c": 0.16461,
"h": 278.3
},
"luminance": 0.03044
}Semantic roles & 50–950 ramp
primary
#2A1C86
secondary
#AAB945
accent
#E83FD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F