#2A1C7D#2A1C7D
#2A1C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.153 H 279.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1C7D |
|---|---|
| RGB | rgb(42, 28, 125) |
| HSL | hsl(249, 63%, 30%) |
| HSV | hsv(249, 78%, 49%) |
| CMYK | cmyk(66.4%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(19.24, 36.34, -52.31) |
| CIE-LCH | lch(19.24, 63.70, 304.79°) |
| OKLab | oklab(31.97% 0.0261 -0.151) |
| OKLCH | oklch(31.97% 0.153 279.8) |
| XYZ | xyz(5.0706, 2.8030, 19.6719) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 4.77
Dark Royal Blue
#02066F
ΔE00 5.47
Navy
#000080
ΔE00 5.64
Darkblue
#00008B
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1C7D #6F7D1C
analogous
#1C3E7D #2A1C7D #5B1C7D
triadic
#2A1C7D #7D2A1C #1C7D2A
tetradic
#2A1C7D #7D1C3E #6F7D1C #1C7D5B
square
#2A1C7D #7D1C3E #6F7D1C #1C7D5B
split-complementary
#2A1C7D #7D5B1C #3E7D1C
monochromatic
#080619 #19114B #2A1C7D #3B27AF #553FD4
Accessibility & contrast
On white
13.46
#2A1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2A1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1C7D
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1C7D | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a1c7d; /* rgb */ color: rgb(42, 28, 125); /* oklch */ color: oklch(32.0% 0.153 279.8);
Tailwind
colors: {
custom: {
50: '#705aa4',
500: '#2a1c7d',
950: '#000000',
},
}SCSS
$custom: #2a1c7d; $custom-light: #705aa4; $custom-dark: #000000;
JSON
{
"hex": "#2a1c7d",
"rgb": {
"r": 42,
"g": 28,
"b": 125
},
"hsl": {
"h": 248.66,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31971,
"c": 0.15323,
"h": 279.8
},
"luminance": 0.02803
}Semantic roles & 50–950 ramp
primary
#2A1C7D
secondary
#A1B144
accent
#E641CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F