#2A1C9C#2A1C9C
#2A1C9C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.191 H 275.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1C9C |
|---|---|
| RGB | rgb(42, 28, 156) |
| HSL | hsl(247, 70%, 36%) |
| HSV | hsv(247, 82%, 61%) |
| CMYK | cmyk(73.1%, 82.1%, 0%, 38.8%) |
| CIE-LAB | lab(22.73, 46.26, -65.88) |
| CIE-LCH | lch(22.73, 80.50, 305.07°) |
| OKLab | oklab(35.44% 0.0177 -0.1905) |
| OKLCH | oklch(35.44% 0.191 275.3) |
| XYZ | xyz(7.3689, 3.7223, 31.7762) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Cobalt Blue
#030AA7
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 3.45
Royal Blue (survey)
#0504AA
ΔE00 3.77
Ultramarine
#2000B1
ΔE00 3.99
Darkblue
#00008B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1C9C #8E9C1C
analogous
#1C4E9C #2A1C9C #6A1C9C
triadic
#2A1C9C #9C2A1C #1C9C2A
tetradic
#2A1C9C #9C1C4E #8E9C1C #1C9C6A
square
#2A1C9C #9C1C4E #8E9C1C #1C9C6A
split-complementary
#2A1C9C #9C6A1C #4E9C1C
monochromatic
#0E0934 #1C1368 #2A1C9C #3825D0 #6252E0
Accessibility & contrast
On white
12.04
#2A1C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2A1C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1C9C
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1C9C | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a1c9c; /* rgb */ color: rgb(42, 28, 156); /* oklch */ color: oklch(35.4% 0.191 275.3);
Tailwind
colors: {
custom: {
50: '#775cbb',
500: '#2a1c9c',
950: '#000000',
},
}SCSS
$custom: #2a1c9c; $custom-light: #775cbb; $custom-dark: #000000;
JSON
{
"hex": "#2a1c9c",
"rgb": {
"r": 42,
"g": 28,
"b": 156
},
"hsl": {
"h": 246.563,
"s": 69.565,
"l": 36.078
},
"oklch": {
"l": 0.35443,
"c": 0.1913,
"h": 275.3
},
"luminance": 0.03723
}Semantic roles & 50–950 ramp
primary
#2A1C9C
secondary
#B6C351
accent
#EC3BD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981