#2A1C7E#2A1C7E
#2A1C7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.155 H 279.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1C7E |
|---|---|
| RGB | rgb(42, 28, 126) |
| HSL | hsl(249, 64%, 30%) |
| HSV | hsv(249, 78%, 49%) |
| CMYK | cmyk(66.7%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.34, 36.67, -52.77) |
| CIE-LCH | lch(19.34, 64.26, 304.80°) |
| OKLab | oklab(32.08% 0.0259 -0.1523) |
| OKLCH | oklch(32.08% 0.155 279.6) |
| XYZ | xyz(5.1348, 2.8287, 20.0100) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 4.73
Dark Royal Blue
#02066F
ΔE00 5.51
Darkblue
#00008B
ΔE00 5.59
Navy
#000080
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1C7E #707E1C
analogous
#1C3F7E #2A1C7E #5B1C7E
triadic
#2A1C7E #7E2A1C #1C7E2A
tetradic
#2A1C7E #7E1C3F #707E1C #1C7E5B
square
#2A1C7E #7E1C3F #707E1C #1C7E5B
split-complementary
#2A1C7E #7E5B1C #3F7E1C
monochromatic
#09061A #19114C #2A1C7E #3B27B0 #5540D5
Accessibility & contrast
On white
13.41
#2A1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2A1C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1C7E
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1C7E | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a1c7e; /* rgb */ color: rgb(42, 28, 126); /* oklch */ color: oklch(32.1% 0.155 279.6);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#2a1c7e',
950: '#000000',
},
}SCSS
$custom: #2a1c7e; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#2a1c7e",
"rgb": {
"r": 42,
"g": 28,
"b": 126
},
"hsl": {
"h": 248.571,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.32079,
"c": 0.15451,
"h": 279.6
},
"luminance": 0.02829
}Semantic roles & 50–950 ramp
primary
#2A1C7E
secondary
#A2B244
accent
#E741CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F