#2A1A84#2A1A84
#2A1A84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.164 H 278.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1A84 |
|---|---|
| RGB | rgb(42, 26, 132) |
| HSL | hsl(249, 67%, 31%) |
| HSV | hsv(249, 80%, 52%) |
| CMYK | cmyk(68.2%, 80.3%, 0%, 48.2%) |
| CIE-LAB | lab(19.62, 39.70, -56.11) |
| CIE-LCH | lch(19.62, 68.73, 305.28°) |
| OKLab | oklab(32.47% 0.0255 -0.162) |
| OKLCH | oklch(32.47% 0.164 278.9) |
| XYZ | xyz(5.4878, 2.8965, 22.0952) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.09
Midnight Blue
#191970
ΔE00 3.76
Indigo (survey)
#380282
ΔE00 4.17
Darkblue
#00008B
ΔE00 4.86
Navy
#000080
ΔE00 5.13
Cobalt Blue
#030AA7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1A84 #74841A
analogous
#1A3F84 #2A1A84 #5F1A84
triadic
#2A1A84 #842A1A #1A842A
tetradic
#2A1A84 #841A3F #74841A #1A845F
square
#2A1A84 #841A3F #74841A #1A845F
split-complementary
#2A1A84 #845F1A #3F841A
monochromatic
#09061E #1A1051 #2A1A84 #3A24B7 #563FD9
Accessibility & contrast
On white
13.30
#2A1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#2A1A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1A84
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1A84 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a1a84; /* rgb */ color: rgb(42, 26, 132); /* oklch */ color: oklch(32.5% 0.164 278.9);
Tailwind
colors: {
custom: {
50: '#725aa9',
500: '#2a1a84',
950: '#000000',
},
}SCSS
$custom: #2a1a84; $custom-light: #725aa9; $custom-dark: #000000;
JSON
{
"hex": "#2a1a84",
"rgb": {
"r": 42,
"g": 26,
"b": 132
},
"hsl": {
"h": 249.057,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.32472,
"c": 0.16402,
"h": 278.9
},
"luminance": 0.02897
}Semantic roles & 50–950 ramp
primary
#2A1A84
secondary
#A6B842
accent
#EA3ED0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F