#2A1A86#2A1A86
#2A1A86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 278.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1A86 |
|---|---|
| RGB | rgb(42, 26, 134) |
| HSL | hsl(249, 68%, 31%) |
| HSV | hsv(249, 81%, 53%) |
| CMYK | cmyk(68.7%, 80.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.85, 40.33, -56.99) |
| CIE-LCH | lch(19.85, 69.82, 305.29°) |
| OKLab | oklab(32.7% 0.0249 -0.1646) |
| OKLCH | oklch(32.7% 0.166 278.6) |
| XYZ | xyz(5.6259, 2.9518, 22.8229) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.88
Midnight Blue
#191970
ΔE00 4.02
Indigo (survey)
#380282
ΔE00 4.18
Darkblue
#00008B
ΔE00 4.79
Navy
#000080
ΔE00 5.15
Cobalt Blue
#030AA7
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1A86 #76861A
analogous
#1A4086 #2A1A86 #601A86
triadic
#2A1A86 #862A1A #1A862A
tetradic
#2A1A86 #861A40 #76861A #1A8660
square
#2A1A86 #861A40 #76861A #1A8660
split-complementary
#2A1A86 #86601A #40861A
monochromatic
#0A061F #1A1053 #2A1A86 #3A24B9 #5740DA
Accessibility & contrast
On white
13.20
#2A1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2A1A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1A86
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1A86 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a1a86; /* rgb */ color: rgb(42, 26, 134); /* oklch */ color: oklch(32.7% 0.166 278.6);
Tailwind
colors: {
custom: {
50: '#725aaa',
500: '#2a1a86',
950: '#000000',
},
}SCSS
$custom: #2a1a86; $custom-light: #725aaa; $custom-dark: #000000;
JSON
{
"hex": "#2a1a86",
"rgb": {
"r": 42,
"g": 26,
"b": 134
},
"hsl": {
"h": 248.889,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.32695,
"c": 0.16649,
"h": 278.6
},
"luminance": 0.02952
}Semantic roles & 50–950 ramp
primary
#2A1A86
secondary
#A8B942
accent
#EA3DD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F